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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment