Search Issue Tracker
Fixed
Fixed in 2021.3.17f1, 2022.2.3f1, 2023.1.0a24
Votes
0
Found in
2020.3.40f1
2021.3.10f1
2022.1.17f1
2022.2.0b7
2023.1.0a11
Issue ID
UUM-14898
Regression
No
Crash on "GameObjectHierarchyProperty::GetColorCode" when dragging Prefab with TMP Script to Hierarchy or Scene window
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:
{code:java}
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 ()
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Preview is broken when the Sprite is too tall or too wide
- Objects are invisible in Scene view when using Wireframe Shading Mode
- The property of a component becomes read-only when it is bound to "PropertyStreamHandle"
- Physics.Raycast does not work when used on the whole model
- Shader Graph changes the Position of Prefab instances in Play mode
Add comment