Search Issue Tracker
Fixed in 5.5.2
Votes
0
Found in
5.5.2p2
Issue ID
893282
Regression
Yes
Unity crashes in <StopCoroutineFromEnumeratorManaged> because of the function StopCoroutine in the foreach loop
Reproduction steps:
1. Open the attached project;
2. Open the scene "test";
3. Enter Play mode;
4. Click on "Helper" -> "State Sequence" -> a button "Clear";
Actual result: Unity crashes in <StopCoroutineFromEnumeratorManaged>.
Expected result: Unity should not crash.
Note: the crash happens because of the function StopCoroutine which in the foreach loop. When the function is commented in StateSequence.cs 96 line, Unity does not crash.
Reproduced with: 5.5.2f1, 5.5.2p3
Not reproducible with: 5.5.0a6, 5.5.1f1
Regression introduced in 5.5.2f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment