Unity 5.4 Scene Tab Broken
Ok, So I was Building My Game, when I started getting errors preventing me from Playing my Game, the Errors Mainly being repeats of "SUCCEEDED(hr)". So I Restarted Unity and Now My Scene Tab Is COMPLETELY Broken, Displaying Nothing, Even when I reset the Layout to Default, as Well as other Layouts.
I Cant Even Click other Tabs Alongside the Top By Scene, However, When I use a Layout That Seperates The Scene and Game Tabs, The game Tab Functions Normally.
The Console Has These Errors, all repeats of the same thing: NullReferenceException: Object Reference Not Set to an Instance of an object UnityEngine.GUI.Toolbar (Rect position, Int32 selected, UnityEngine.GUIContent[] contents, UnityEngine.GUIStyle style) (at C:/buildslave/unity/Runtime/IMGUI/Managed/GUI.cs : 968)
I Don't Know Why This Is Happening Nor How to Fix it Please Help!
What is the file C:/buildslave/unity/Runtime/I$$anonymous$$GUI/$$anonymous$$anaged/GUI.cs
and what is going on around line 968
?
Answer by UltraSkull · Aug 07, 2016 at 11:14 PM
Ok So I Eventually Got it to Work, If this Happens, Just make it so that unity doesn't load the scene tab on startup. What I Did was I Brought the Console Up to the Middle Tab Area, then Made It Fill The Whole Screen(Till Only It And The Scene Tab Exist.). Then, I Restarted Unity (was Turning it off to Post this Whole thing) And It Loaded the Console Before the Scene Tab, then the Scene tab Worked.
I think the problem lies elsewhere though. $$anonymous$$aybe the whole code base is not compiling because you have a null reference in GUI.cs file. And some non compiling editor scripts are causing the whacky behaviour.
I Looked into it but it seems to have fixed itself. I don't know where to find the file, because its not in either Unity's Program Files Folder nor its appdata. Is it possible it was in the temp folder, and it broke during the process. only to fix the temporary problems afterwards?
Your answer
Follow this Question
Related Questions
How to reduce alt-drag sensitivity? 0 Answers
Im having this weid issue with the Scene View after Updating to 2020.3.21f1 0 Answers
Can't see GameObjects In Scene View 2 Answers
Objects are invisible in Scene mode. 1 Answer
How to record gameobject positions during playmode in the timeline editor ? 0 Answers