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
- [Vulkan] Release memory after deleting image
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Crash on internalABP::BoxManager::prepareData when entering Play Mode
- Crash at "UnityEngine.Object:FindObjectsOfType" when quitting the Player
Resolution Note (fix version 2023.1.0a10):
Fixed in: 2023.1.0a10
Resolution Note (fix version 2022.2.0b10):
Fixed in: 2022.2.0b10