Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2018.4.X, 2019.2.X, 2019.3.X

Votes

2

Found in

2018.3.0f2

Issue ID

1131957

Regression

No

[Windows] Selecting prefab in Project window crashes the editor

Asset - Importers

-

The crash can happen with either of these two stack traces:
Object::GetInstanceID
GizmoManager::BuildGizmosFromGameObjectRecursive

To reproduce:
1. Open any project
2. Import QA attached prefab "ThisOneCrashes.prefab"
3. Select the importet prefab in Project window

Result: editor crashes

Reproduced in: 2017.4.0f1, 2017.4.30f1, 2018.4.5f1, 2019.1.12f1, 2019.2.0b10, 2019.3.0a11

Note1: does not crash on Mac or Linux (Linux produces assertion errors)
Note2: two editor logs with stack traces attached, short stack traces here:

Stack trace1:

0x0000000140E16E39 (Unity) GizmoManager::BuildGizmosFromGameObjectRecursive
0x0000000140E17073 (Unity) GizmoManager::BuildGizmosFromGameObjectRecursive
0x0000000140E17073 (Unity) GizmoManager::BuildGizmosFromGameObjectRecursive
0x0000000140E17073 (Unity) GizmoManager::BuildGizmosFromGameObjectRecursive
0x0000000140E17073 (Unity) GizmoManager::BuildGizmosFromGameObjectRecursive
0x0000000140E17073 (Unity) GizmoManager::BuildGizmosFromGameObjectRecursive
0x0000000140E17073 (Unity) GizmoManager::BuildGizmosFromGameObjectRecursive
0x0000000140E17073 (Unity) GizmoManager::BuildGizmosFromGameObjectRecursive
0x0000000140E17073 (Unity) GizmoManager::BuildGizmosFromGameObjectRecursive
0x0000000140E2C752 (Unity) GizmoManager::RecalculateGizmos
0x0000000140E2C819 (Unity) GizmoManager::RecalculateGizmosIfDirty
0x0000000140E1DA3B (Unity) GizmoManager::DrawAllGizmos
0x0000000140ED9A22 (Unity) Camera::FinishRenderingEditorCamera
0x00000001423337B0 (Unity) Handles_CUSTOM_Internal_FinishDrawingCamera

Stack trace2:

0x0000000140109846 (Unity) Object::GetInstanceID
0x00000001406F1A3B (Unity) CollectAndProduceGameObject
0x00000001406F2019 (Unity) CollectAndProduceGameObjectHierarchy
0x00000001406F18C4 (Unity) CollectAndProduceClonedIsland
0x00000001406F0FAB (Unity) CloneObjectImpl
0x00000001406F2B48 (Unity) InstantiateObject
0x0000000140CE1120 (Unity) InstantiateObjectRemoveAllNonAnimationComponents
0x00000001422C0027 (Unity) EditorUtility_CUSTOM_Internal_InstantiateRemoveAllNonAnimationComponentsSingle_Injected

  1. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a5, 2020.2.0a7, 2021.1.0a2

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.