Search Issue Tracker
Fixed
Votes
2
Found in
5.0.1f1
Issue ID
695164
Regression
No
Adding another Scene View generates NullReferenceException
1. Right click on a frame in the editor and choose Add Tab > Scene
2. view the Console for errors and see that a new NullReferenceException is generated
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.SceneView.LookAt (Vector3 pos, Quaternion rot, Single newSize, Boolean ortho, Boolean instant) (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1642)
UnityEditor.SceneView.Awake () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:398)
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)
Comments (5)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
- Camera is not overlooking the main Scene in Scene View in the HDRP Sample Template
- TextShadow properties are not applied when displayed in a custom MenuItem Window
Agent654
Aug 27, 2015 18:25
I'll echo this from DRWAYYYNE - same for me in 5.1.2f1.
Not sure if this matters, but running Windows 10 64-bit - using 64-bit Unity client.
Console output:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.SceneView.LookAt (Vector3 pos, Quaternion rot, Single newSize, Boolean ortho, Boolean instant) (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1657)
UnityEditor.SceneView.Awake () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:400)
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)
jamh
Aug 04, 2015 18:49
So'
Wich is the answer?
drwayyyne
Jul 27, 2015 16:02
Seems this issue is back in 5.1.2f1
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.SceneView.LookAt (Vector3 pos, Quaternion rot, Single newSize, Boolean ortho, Boolean instant) (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1657)
UnityEditor.SceneView.Awake () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:400)
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)
bobmoff
May 27, 2015 09:34
I am using 5.0.2p2 with the same problem. UI elements not rendered in Scene View.
f4bo
May 14, 2015 08:23
same to me: today I installed the 5.0.1p4 and beside that error I'm also unable to see 2d elements in the sene view, while visible in the game view - this is my error traceback:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.SceneView.LookAt (Vector3 pos, Quaternion rot, Single newSize, Boolean ortho, Boolean instant) (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1646)
UnityEditor.SceneView.Awake () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:398)
UnityEditor.CreateBuiltinWindows:ShowSceneView()