Search Issue Tracker
Fixed in 2018.2.X
Votes
4
Found in
2017.3.1f1
Issue ID
1026512
Regression
No
"Did you spawn new GameObjects from OnDestroy?" error appears when exiting play mode with no further information
To reproduce:
1. Open attached project
2. Enter and Exit Play mode
3. Notice that error appears
Actual result: Error "Some objects were not cleaned up when closing the scene. (Did you spawn new GameObjects from OnDestroy?)" does not give any information where it comes from.
Expected result: Error should give information in which code the problem appears.
Reproduced in: 2017.1.4p2; 2017.2.3p1;2017.3.2f1; 2017.4.5f1; 2018.1.7f1; 2018.2.0b11; 2018.3.0a3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Different build sizes between Editor build and command-line build when "Static Batching" is enabled
- Particle System "Start Rotation" property affects a different axis when upgrading to newer Editor versions
- "Light" Component's "Culling Mask" setting is hidden but still has an effect when using HDRP
- Selecting the Web platform can be done when using the HDRP project
- Textures swap when SpriteRenderers with shared materials and animators are toggled on and off
Add comment