Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.66f2
6000.3.8f1
6000.4.0b8
6000.5.0a6
Issue ID
UUM-133968
Regression
No
Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
Steps to reproduce:
1. Create new Unity project
2. Create new Scene in Project window (Create > Scene > Scene)
3. Install Entities and Entities Graphics package via Package Manager
4. In Hierarchy create a New Sub Scene
5. Select “New Sub Scene” GO in Hierarchy window
6. In Inspector window > Sub Scene Component select “Scene Asset”
7. In “Select Scene Asset” window select “New Scene” Scene
8. Open “Select Scene Asset” window “New Sub Scene” Scene again
9. Observe the Console window
Actual results: Error is thrown in the Console “Destroying GameObjects immediately is not permitted during physics trigger/contact, animation event callbacks, rendering callbacks or OnValidate. You must use Destroy instead” after selecting “New Sub Scene” Scene again
Expected results: No errors are thrown in the Console after selecting “New Sub Scene” Scene again
Reproducible with versions: 6000.0.66f2, 6000.3.8f1, 6000.4.0b8, 6000.5.0a6
Tested on (OS): macOS Silicon Tahoe 26.2 (M1)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment