Search Issue Tracker

Active

Votes

2

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.