- Home /
What is a null reference camera error exception?
NullReferenceException UnityEditor.HandleUtility+SavedCamera..ctor (UnityEngine.Camera source) UnityEditor.HandleUtility.PushCamera (UnityEngine.Camera camera) UnityEditor.SceneViewRotation.OnGUI () i get these all the time and i have no idea why. what are they and how can i avoid them?
Answer by spinaljack · Apr 20, 2010 at 10:16 AM
If you double click the error it usually brings up the script that caused the error. If you have the error all the time even with no scripts you might have a bug and should post a bug report or try reinstalling. If it's a script error edit your post with it and we'll take a look.
it does not reference a script. Ive had it on two computers now and this has happened to both. ill file a bug report.
i always get them as well when right clicking in editor mode scene view and travelling the scene with WASD
Answer by John 12 · Aug 22, 2010 at 09:43 AM
This seems to happen when the Main Camera is moved to become a child of another Game Object..
Your answer
Follow this Question
Related Questions
NullReferenceException: Object reference not set to an instance of an object 1 Answer
Problem for moving an object with a button 0 Answers
Object reference not set to an instance of an object 1 Answer
NullReferenceException on empty project because of ScriptCompilerBase 0 Answers
Vector3.Distance giving me NullReferenceException every time 1 Answer