Copyright © 2026 Unity Technologies
No further releases planned fo 2022.1
No further releases planned for 2020.3
How to reproduce:
1. Open the attached Unity project "CrashProject.zip"
2. Select the "Cube" Prefab in the Project window
3. Drag the "Cube" Prefab to the Hierarchy window or Scene window
4. Observe the crash
Expected result: Editor does not crash, prefab is added to Hierarchy window or Scene window
Actual result: Editor crashes
Reproducible with: 2020.3.40f1, 2021.3.10f1, 2022.1.17f1, 2022.2.0b7, 2023.1.0a11
Reproduced on: Windows 10
Stacktrace:
Stack trace: 0x00007ff64606ea50 (Unity) GameObjectHierarchyProperty::GetColorCode 0x00007ff64659496d (Unity) HierarchyProperty_Get_Custom_PropColorCode 0x00000287c873bd80 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.HierarchyProperty:get_colorCode (UnityEditor.HierarchyProperty) 0x00000287c873b6fb (Mono JIT Code) UnityEditor.GameObjectTreeViewDataSource:InitTreeViewItem (UnityEditor.GameObjectTreeViewItem,UnityEditor.HierarchyProperty,bool,int) 0x00000287c873af8b (Mono JIT Code) UnityEditor.GameObjectTreeViewDataSource:InitializeRows (UnityEditor.HierarchyProperty,int,int) 0x00000287c8739ad3 (Mono JIT Code) UnityEditor.GameObjectTreeViewDataSource:InitializeMinimal () 0x00000287c8737123 (Mono JIT Code) UnityEditor.GameObjectTreeViewDataSource:FetchData () 0x00000287c8736d03 (Mono JIT Code) UnityEditor.IMGUI.Controls.TreeViewDataSource:ReloadData () 0x00000287c8736c36 (Mono JIT Code) UnityEditor.IMGUI.Controls.TreeViewController:ReloadData () 0x00000287c9c2b36b (Mono JIT Code) UnityEditor.SceneHierarchy:ReloadData () 0x00000287c9c2b133 (Mono JIT Code) UnityEditor.SceneHierarchy:SyncIfNeeded () 0x00000287c9c2abab (Mono JIT Code) UnityEditor.SceneHierarchy:OnGUI (UnityEngine.Rect) 0x00000287c9c2aaab (Mono JIT Code) UnityEditor.SceneHierarchyWindow:DoSceneHierarchy () 0x00000287c9c2402b (Mono JIT Code) UnityEditor.SceneHierarchyWindow:OnGUI () 0x00000287c9c22b43 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect) 0x00000287c9c228b3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect,UnityEngine.Rect) 0x00000287c9c14e23 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
Issues you vote on will appear here