Search Issue Tracker

Fixed

Votes

0

Found in

2020.3.41f1

2021.3.12f1

2022.1.20f1

2022.2.0b12

2023.1.0a15

Issue ID

UUM-17070

Regression

No

Crash on GameObject::IsActive when dragging a Prefab to a Scene

--

-

Reproduction steps:
1. Open the user’s attached project
2. In the Project Window find “Hollow” Prefab
3. Drag “Hollow” Prefab into the Scene

Expected result: Prefab is added to the scene
Actual result: Editor crashes

Reproducible with: 2020.3.41f1, 2021.3.12f1, 2022.1.20f1, 2022.2.0b12, 2023.1.0a15

Reproducible on: Windows 10, macOS Monterey 12.6 (M1 Max)

First lines of stacktrace:
#0 0x00000102aa7b20 in GameObject::IsActive() const
#1 0x000001040dbab8 in GameObjectHierarchyProperty::GetColorCode()
#2 0x000001028989f4 in HierarchyProperty_Get_Custom_PropColorCode(ScriptingBackendNativeObjectPtrOpaque*)
#3 0x000002dd016780 in (wrapper managed-to-native) UnityEditor.HierarchyProperty:get_colorCode (UnityEditor.HierarchyProperty) \[{0x2d590c880} + 0x70] (0x2dd016710 0x2dd016804) \[0x12d006a80 - Unity Child Domain]
#4 0x000002dd01606c in UnityEditor.GameObjectTreeViewDataSource:InitTreeViewItem (UnityEditor.GameObjectTreeViewItem,UnityEditor.HierarchyProperty,bool,int) \[{0x2d590c308} + 0x7c] \[/Users/bokken/buildslave/unity/build/Editor/Mono/GUI/TreeView/GameObjectTreeViewDataSource.cs :: 569u] (0x2dd015ff0 0x2dd0160bc) \[0x12d006a80 - Unity Child Domain]
#5 0x000002dd015790 in UnityEditor.GameObjectTreeViewDataSource:InitializeRows (UnityEditor.HierarchyProperty,int,int) \[{0x2d590aed8} + 0x108] \[/Users/bokken/buildslave/unity/build/Editor/Mono/GUI/TreeView/GameObjectTreeViewDataSource.cs :: 563u] (0x2dd015688 0x2dd0157ec) \[0x12d006a80 - Unity Child Domain]

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.