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
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
Add comment