Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X
Votes
0
Found in
2019.4.24f1
2020.3.3f1
2021.1.0a7
2021.1.1f1
2021.2
2022.1
Issue ID
1363573
Regression
Yes
Instantiated FBX through code throws error after leaving Play Mode
How to reproduce:
1. Create a new empty 3D project
2. Download the user attached "Assets.zip" assets
3. Drag and drop the assets from "Assets.zip" into the empty project's Assets folder
4. Enter the "Scene" scene
5. Open the Console window
6. Enter Play Mode
7. Leave Play Mode
Expected Result: No errors after leaving Play Mode
Actual Result: Error - "Cannot destroy GameObject that is part of a prefab instance." is thrown
Reproducible with: 2019.4.24f1, 2019.4.31f1, 2020.3.3f1, 2020.3.20f1, 2021.1.0a7, 2021.1.25f1, 2021.2.0b14, 2022.1.0a9
Not Reproducible: 2019.4.23f1, 2020.3.0f1, 2021.1.0a1, 2021.1.0a6
-
Aka_ToolBuddy
Dec 21, 2021 12:25
Hi
I originally filled the ticket 1363573 reporting the issue. I tried again the reproduction case I send you with the latest Unity version 2021.2.7f1, and the issue is still there. Is the fix indeed part of that release?
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 terrain appears darker when "Per-pixel Normal" is enabled
- [Linux] Editor assertion causes Test Runner to fail when executing it in Batch Mode
- Color selection by the mouse cursor is still enabled when the "Esc" button is pressed
- Game view becomes black and the Scene window becomes grey, “ArgumentOutOfRangeException” errors and “Render Pipeline error” warnings appear after changing the name or deleting URP/HDRP global settings file
- Transform Component is not accessible inside the Player when RuntimeInitializeOnLoadMethod is used
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a16
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.8f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.25f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.34f1