Search Issue Tracker

Fixed in 2017.1.0f3

Fixed in 5.6.X

Votes

8

Found in

2017.1.0a2

Issue ID

886650

Regression

Yes

[OpenGL] Text in Editor becomes red after displaying popup windows due to missing GUIStyles

Themes

-

Steps to reproduce:
1) Open the latest attached project (from fogfiles).
- Notice that an import window appears while the project is loading.

Almost all of the text and some GUI elements become red. Multiple similar error messages appear in the console:
Missing built-in guistyle ColorPickerBox
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
UnityEditor.EditorStyles:GetStyle(String) (at /Users/vaidas/Documents/trunk/Editor/Mono/GUI/EditorStyles.cs:408)
UnityEditor.EditorStyles:InitSharedStyles() (at /Users/vaidas/Documents/trunk/Editor/Mono/GUI/EditorStyles.cs:307)
UnityEditor.EditorStyles:UpdateSkinCache(Int32) (at /Users/vaidas/Documents/trunk/Editor/Mono/GUI/EditorStyles.cs:297)
UnityEditor.EditorStyles:UpdateSkinCache() (at /Users/vaidas/Documents/trunk/Editor/Mono/GUI/EditorStyles.cs:285)
UnityEditor.EditorGUIUtility:SkinChanged() (at /Users/vaidas/Documents/trunk/artifacts/generated/common/editor/EditorGUIUtilityBindings.gen.cs:828)
UnityEngine.GUISkin:MakeCurrent() (at /Users/vaidas/Documents/trunk/Runtime/IMGUI/Managed/GUISkin.cs:343)
UnityEngine.GUI:DoSetSkin(GUISkin) (at /Users/vaidas/Documents/trunk/Runtime/IMGUI/Managed/GUI.cs:68)
UnityEngine.GUI:set_skin(GUISkin) (at /Users/vaidas/Documents/trunk/Runtime/IMGUI/Managed/GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at /Users/vaidas/Documents/trunk/Runtime/IMGUI/Managed/GUIUtility.cs:355)
UnityEditor.EditorUtility:DisplayDialog(String, String, String, String)
EditorHelper:OnPlayModeChanged() (at Assets/Scripts/Editor/EditorHelper.cs:2210)
EditorHelper:.cctor() (at Assets/Scripts/Editor/EditorHelper.cs:25)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(IntPtr)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(RuntimeTypeHandle) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs:101)
UnityEditor.EditorAssemblies:ProcessEditorInitializeOnLoad(Type) (at /Users/vaidas/Documents/trunk/Editor/Mono/EditorAssemblies.cs:136)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes() (at /Users/vaidas/Documents/trunk/Editor/Mono/EditorAssemblies.cs:162)

Only occurs on macOS and Linux with OpenGL (couldn't repro with Metal).

Reproduced on:
Version 2017.1.0a6, 2017.1.0a3, 5.6.0f2

Did not reproduce:
5.5.2f1

Tested on:
macOS 10.12.4

Comments (18)

  1. ghady

    May 22, 2017 16:01

    Have same problem on Windows 7 , release 5.6.1f1. Happening very often.

  2. playemgames

    May 06, 2017 17:44

    This is still happening for me in 5.6.0p3 in Windows 7/DX11 when it is compiling. It is not set for OpenGL and I also submitted a bug for this.

  3. eastes

    Apr 26, 2017 02:22

    QUICK FIX.... Switching GUI from Professional / Standard and back again fixes the problem without having to restart.

  4. eastes

    Apr 26, 2017 02:19

    This bug is driving me crazy!

  5. Jacob-Williams

    Apr 25, 2017 01:59

    Happens for me on 5.6.0p2 (64-bit) using Windows 10/DX11 - Tested on an empty project.

  6. moatdd

    Apr 23, 2017 02:16

    I should also mention that if I hit PLAY the interface fixes itself but sometimes it comes back.

  7. moatdd

    Apr 23, 2017 02:15

    +1 happens to me on Windows 7 XP 64 running OpenGL on 5.6.0f3 (64 bit)

  8. Aubrey-Falconer

    Apr 07, 2017 01:21

    This issue also occurs quite regularly (more than once a day on average) on my Windows 10 dev setup running the current release 5.6.0f3. I'd be happy to share a repro project if it might prove useful.

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.