Search Issue Tracker
Fixed in 2019.2.X
Votes
4
Found in
2017.3.1f1
Issue ID
1015799
Regression
Yes
Unity throws NullReferenceException or EndLayoutGroup errors when EditorUtility.ClearProgressBar() is called
How to reproduce:
1. Open given Unity project
2. Enter "DisplayCancelableProgressBarBugScene"
3. Click on Main Camera
5. In inspector click on "Show bug error" button
Expected result: In editor should appear cancelable progress bar
Actual result: Error is thrown
Regression first introduced in: 2017.3.0a1
Reproducible with: 2018.2.0a5, 2018.1.0b12, 2017.4.0f1, 2017.3.2f1
Not reproducible with: 2017.2.2p1, 2017.1.3p2, 5.6.5p3
Note:
Error on 2018.2.0a5, 2018.1.0b12
EndLayoutGroup: BeginLayoutGroup must be called first.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
2017.4.0f1, 2017.3.2f1:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayoutUtility.cs:296)
UnityEditor.EditorGUILayout.BeginHorizontal (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:7787)
UnityEditor.EditorGUILayout.BeginHorizontal (UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:7767)
UnityEditor.InspectorWindow.AddComponentButton (UnityEditor.Editor[] editors) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1409)
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Visual artifacts appear when the HD Dynamic Resolution Component changes the resolution scale
- Domain Reload loading popup is dark when Editor Theme is set to "Light"
- Scene Views breaks and errors are spammed in the Console when the Game view is shrunk vertically to the minimum, and the Aspect Ratio is 16:9 or 16:10
- Slider Fill Area disappears after undoing “Set Native Size” change
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
arkano22
Oct 01, 2018 10:35
Same here, this one is extremely annoying.
julienh_unity
Jul 16, 2018 14:11
Same here :)
todderasesabluedot
Jun 26, 2018 21:29
I am getting this, too. Would be great if fixed!