Search Issue Tracker
Fixed in 4.6.1
Votes
5
Found in
4.5.4f1
Issue ID
637318
Regression
No
UnityScript files with a child class and an IEnumerator function cause an exception
Unityscripts with inheritance and IEnumerator functions can cause an exception once called:
[System.Runtime.InteropServices.SEHException] {System.Runtime.InteropServices.SEHException: External component has thrown an exception.
at UnityEngine.Internal.$Calli.Invoke90(Int32 arg0, Int64 arg1, IntPtr method)
at UnityEngine.MonoBehaviour.StartCoroutine_Auto(IEnumerator routine)
at Test.$onClick$1.$.MoveNext()
at UnityEngine.Internal.$MethodUtility.$Invoke85(Int64 instance, Int64* args)
at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)} System.Runtime.InteropServices.SEHException
To reproduce:
1. Download the attached scripts
2. Import them into a new unity project
3. Add the TestSub script to the main camera
4. Build & run for WP8 (development build with the current scene)
5. Press the button. Wait for a few seconds - the text appears as it normally would, but an exception is also thrown
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment