Hi! Well, I was working on a little project of mine, and, all of a sudden, I start getting thousands of this error:
transform.rotation assign attempt for ‘SceneCamera’ is not valid. Input rotation is { NaN, NaN, NaN, NaN }.
UnityEditor.DockArea:OnGUI()
And now, I can no longer rotate my scene camera.
I have no clue what exactly I did to cause this, but can someone please tell me how to fix it? The error messages are flooding my console, and it id downright annoying not being able to see anything.
–Flynn
Notes of interest:
The bug is project independent.
Restarting Unity does not fix the bug.
Many thanks Flynn, I recently experienced this problem and your solution did the trick.
@ngochaihackerpro: Not close the scene, close the “scene view” tab window. Right click on the “tab” labeled “Scene” and click “Close Tab”. Then go to the menu Window > Scene to re-open the scene view window again, re-dock it to your other windows and you should be fine.