Search Issue Tracker
Fixed
Votes
0
Found in
5.3.7f1
Issue ID
863131
Regression
No
Editor crashes on LoadScene when OnBecameInvisible () contains WaitForSeconds()
Steps to reproduce:
1. Download 863131_CS_repro.zip and open "TestScene"
2. Press Play
3. Press "Destroy & Regen Sprite" button
4. Observe asserts
5. (Optional) Repeat until Unity crashes
Editor crashes when OnBecameInvisible () contains WaitForSeconds() when scene is loaded and the script comes before the renderer in the list of components.
Reproduced with: 5.6.0b3, 5.5.0p3, 5.4.3p4. 5.3.7p3
Note: to crash editor might take 5-20 presses
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Add comment