Transform.rotation assign attempt for scene camer error

Hi,

since updating to latest version I started getting this error:

“transform.rotation assign attempt for ‘SceneCamera’ is not valid. Input rotation is { NaN, NaN, NaN, NaN }.
UnityEditor.WindowLayout:LoadWindowLayout(String)”

In runtime I get this error every second so debug window keeps growing and gets it hard to find my own stuff.

Any idea what’s going on?

Unity 3.1.0.f3 (54715)

This bug has been reported several times but nobody seems to have discovered a sequence of actions that reproduces it. Your project may have useful information, so it would be great if you could file a new bug report about this (menu: Help > Report A Bug). In the meantime, one thing that sometimes makes the problem go away is to close the existing scene view window and open a new one. Hopefully, this will at least get rid of the error messages even if the underlying bug is still there.

I have the exact same problem - the thing is though, I cant get rid of it. I’ve tried creating a completely new project and the error is still there - not allowing me to use my scene camera.

I’ve also tried reinstalling it … stil there!

What can I do?

I had the same problem Oliver!

Delete the preferences in ~/Library/Preferences/Unity. You’ll need to set up your workspace again but it stopped the problem for me.

I’m getting the same problem here (Version 3.3.0f4)

rebooted the computer, restarted unity, open a new project/scene, problem persist.

unlike icckleblackcat suggestion, I don’t seem to have a Unity file in my ~/Library/Preferences folder.

nevermind, I was looking in the wrong Library folder…

(had to look in my user/Library/Preference folder)

just close the scene tab, then add it again :slight_smile:
that fixed the problem :slight_smile:

~<3 9um1834R <3~

I ran into this same problem. Mac OSX, Unity 3.3.0f4. I tried to find the preferences file you guys were talking about but it doesn’t exist.

I closed the Scene view, re-opened it, and got the error again.

Next, I closed the Scene view, closed Unity, then re-opened Unity. The problem appears to be resolved. :face_with_spiral_eyes:

closing the scene tab reopening it worked fine for me, thanks guys.

Yes Guys, I had the same problem. But now it’s working. Try to delete the folder in user/Library/preferences/unity. It would be resolved.

My fix: Simply change the current layout (top icon on mac version) to any 2 by 3, tall, anything…it fixed by itself.

1 Like