Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
0
Found in
6000.0.66f2
6000.3.8f1
6000.4.0b8
6000.5.0a6
6000.6.0a1
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 select “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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment