Search Issue Tracker
Fixed
Fixed in 2022.2.0b10, 2023.1.0a10
Votes
1
Found in
2022.2.0b1
2023.1.0a3
Issue ID
UUM-8917
Regression
Yes
Error "Destroying a GameObject inside a Prefab instance is not allowed" shown when destroying runtime-instantiated GameObject
Reproduction steps:
# Open the user's attached project
# Enter Play mode
Expected result: No error in the Console
Actual result: "Destroying a GameObject inside a Prefab instance is not allowed." error in Console
Reproduced with: 2022.2.0a13, 2022.2.0b1, 2023.1.0a3
Not reproduced with: 2020.3.37f1, 2021.3.6f1, 2022.1.9f1, 2022.2.0a12
Reproducible on: macOS 12.4 (Intel)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note (fix version 2023.1.0a10):
Fixed in: 2023.1.0a10
Resolution Note (fix version 2022.2.0b10):
Fixed in: 2022.2.0b10