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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment