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. unity_WdhwveY96l_YyA

    Dec 12, 2017 14:15

    Same issue in Win7 64 bit with 5.6.1p1

    Thanks for the switching GUI workaround. Beats reopening the project scene. Still.. this should really be adressed. Happens lots of times every day, this is not what I would consider a stable software.

  2. mitchcairns

    Jul 11, 2017 05:23

    Definitely not fixed, it's happening to me.

  3. RobyYang

    Jul 05, 2017 13:49

    Windows 7 / 64bit / Unity5.6.1p1. Same problem!

    Does it mean the issue was fixed only in Unity2017 ?Oh No!

  4. schala

    Jun 30, 2017 02:34

    I started experiencing the same today suddenly, and I tested over ten times and every single time I got this was when I had XSplit Gamecaster opened. Then I closed it, hit on Play again and the issue is gone, and I did the test many times as I mentioned, just to make sure.

    I don't believe everyone has this program installed, but it might be a conflict with similar programs.

    I'm using Windows 8.1 and Unity 5.6.1f1 x64.

  5. eloiii

    Jun 28, 2017 16:59

    It is not fixed! Happens to me with 5.6.1f1 using Windows 8.1. It not happens always, but mostly when it's a VR project. Please resolve it, It's very annoying! :(

  6. Wrekse

    Jun 25, 2017 14:09

    Same here. Very annoying. Windows 7/64 unity 5.6.1f1
    Why has it been marked as fixed? Is there a fix somewhere?
    It's like unity is blushing at you because your project is so great,
    and out of jealousery it make it bugs and freeze.

  7. imtehQ

    Jun 22, 2017 18:11

    +1 same here atleast 5 times a day, somthign to do with scripts still compiling and clicking inside unity :/ its on unity 5.6.1f1 (64 bit) Any scene even the most simple ones, in and out of play mode.

  8. IndieForger

    Jun 20, 2017 19:36

    Can we please re-open this issue?

  9. IndieForger

    Jun 20, 2017 19:35

    Same here. 5.6.1f1, Windows 10.

    Since the updated I am constantly getting crashes, "Uncaught exception in async net callback: Object reference not set to an instance of an object UnityEditor.AsyncHTTPClient:Done(State, Int32)" and now started getting this one.

    This release is absolute rubbish.

  10. nztree

    Jun 09, 2017 19:06

    Occurring frequently in 5.6.1. Definitely not fixed yet.

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.