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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment