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
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- Dynamic text is rendered in the background when it is inside the <font> tag
Add comment