Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

(Case 1081625) Scene view suddenly become grey

Discussion in '2018.3 Beta' started by optimise, Sep 16, 2018.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,077
    Not really sure the root cause of the problem but before that I'm trying to modify and duplicate prefab. Modifying prefab keep failing that I'm not able to change the component of the prefab and duplicate the prefab to modify it also same result.

    Here's the errors I get:
    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.SceneHierarchyStageHandling.SyncHierarchyToCurrentStage (UnityEditor.SceneManagement.StageNavigationItem stage, Boolean loadExpandedState) (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyStageHandling.cs:92)
    UnityEditor.SceneHierarchyStageHandling.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyStageHandling.cs:48)
    UnityEditor.SceneHierarchyWindow.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyWindow.cs:64)

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.SceneHierarchyStageHandling.PrefabStageHeaderGUI (Rect rect) (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyStageHandling.cs:253)
    UnityEditor.SceneHierarchyWindow.DoSceneHierarchy () (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyWindow.cs:147)
    UnityEditor.SceneHierarchyWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyWindow.cs:133)
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
    UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:335)
    UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:329)
    UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition, Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.SceneViewStageHandling.AutoSaveButtons () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneViewStageHandling.cs:241)
    UnityEditor.SceneViewStageHandling.BreadcrumbGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneViewStageHandling.cs:219)
    UnityEditor.SceneView.DoToolbarGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:851)
    UnityEditor.SceneView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1829)
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
    UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:335)
    UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:329)
    UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition, Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    upload_2018-9-16_17-34-47.png
     
    Last edited: Sep 16, 2018