Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

(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,137
    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