Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.3.X, 6000.4.X
Votes
10
Found in
6000.0.61f1
6000.2.10f1
6000.3.0b8
6000.4.0a3
Issue ID
UUM-125349
Regression
Yes
GameObject appears as "deleted gameobject" in Hierarchy when importing a model using a custom script
How to reproduce:
1. Open attached project "IN-121121"
2. Open "LoadModelFromZipFile" Scene
3. Enter Play Mode
4. In Game View, press "Load Model"
5. Select the provided "IN-121121_sampleModel.zip" file and press Open
6. Observe Hierarchy
7. Select "deleted gameobject" in Hierarchy
8. Observe Console
Expected result: GameObject name is set to the filename and selecting it in the Hierarchy does not produce any errors
Actual result: GameObject shows up as "deleted gameobject" and clicking on it produces errors in the Console
Reproducible with: 2023.2.0a10, 6000.0.61f1, 6000.2.10f1, 6000.3.0b8, 6000.4.0a3
Not reproducible with: 2023.2.0a9
Reproducible on: Windows 10 (by user), Windows 11
Not reproducible on: No other environments tested
Notes:
- issue also reproduces with other models
- custom script is part of "Lightweight FBX Importer" third-party package
- exiting Play Mode or closing the Editor after interacting with the "deleted gameobject" results in the Editor crashing on "Coroutine::CleanupCoroutineGC" and "Object::SetCachedScriptingObject"
- "ArgumentException: GCHandle value belongs to a different domain" Error is thrown when selecting the "deleted gameobject" in Hierarchy
- "SerializedObjectNotCreatableException: Object at index 0 is null" Error is thrown repeatedly when selecting the "deleted gameobject" in Hierarchy
- "InvalidCastException: Specified cast is not valid." Error is thrown repeatedly when selecting the "deleted gameobject" in Hierarchy
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
- UI Mask Component does not apply correctly when Canvas Render Mode is set to Screen Space - Camera
Add comment