Search Issue Tracker
Fixed in 2022.2.0b10
Fixed in 2022.2.X, 2023.1.X, 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
- Low performance when multiple meshes using BlendShape are rendered on screen
- TMP Dropdown visually corrupts or disappears when its own GameObject is assigned to "Caption Image" or "Placeholder" elements
- Usymtool tries to upload GameAssembly.pdb when it doesn't exist after building with Mono backend
- “NullReferenceException” error thrown in the Console when running HDRP Wizard “Fix All” in URP project after installing HDRP Package
- "Debug Draw Mode" unchecked checkboxes are not visible
Resolution Note (fix version 2023.1):
Fixed in: 2023.1.0a10
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0b10