Search Issue Tracker
Fixed in 2017.3.0f3
Votes
0
Found in
2017.3.0b1
2017.3.0b11
Issue ID
972296
Regression
Yes
[Regression] Crash in GameObjectUtility:GetStaticEditorFlags after clicking on the missing tree prefab
Steps to repro:
1. Open attached project and 't1' scene;
2. Select 'Terrain' gameobject in the Hierarchy;
3. Go to 'Place Trees' tab;
4. In the Terrain Inspector click on the 'Missing' tree prefab.
Expected result:
Prefab is selected and Editor doesn't crash.
Actual result:
Editor crashes. See attached video.
Last calls from the stacktrace:
0x00000000621C3C15 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.GameObjectUtility:GetStaticEditorFlags (UnityEngine.GameObject)
0x0000000000C7D48C (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\TerrainEditor\TerrainInspector.cs:1074] UnityEditor.TerrainInspector:ShowTrees ()
0x00000000621E86B8 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\TerrainEditor\TerrainInspector.cs:1596] UnityEditor.TerrainInspector:OnInspectorGUI ()
0x000000006213D5D7 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1245] UnityEditor.InspectorWindow:DrawEditor (UnityEditor.Editor[],int,bool,bool&,UnityEngine.Rect&)
0x000000006210A796 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1022] UnityEditor.InspectorWindow:DrawEditors (UnityEditor.Editor[])
0x0000000062107725 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:361] UnityEditor.InspectorWindow:OnGUI ()
Regression introduced in Unity 2017.3.0b1.
Notes:
- Reproduces in 2018.1.0a6, 2017.3.0b11, 2017.3.0b1;
- Not reproduces in 2017.3.0a6, 2017.2.0p3;
- Reproduces on both Windows 10 and OSX 10.13.1.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment