Editor camera broken? "transform.position assign attempt for 'SceneCamera' is not valid."

“transform.position assign attempt for ‘SceneCamera’ is not valid. Input position is { NaN, NaN, NaN }.
UnityEditor.DockArea:OnGUI()”

I’ve been getting this error in every scene in every project, even empty ones, and I have uninstalled Unity and reinstalled it, which didn’t help. I honestly don’t know where to go from here. I cannot move my camera in the editor. I can only rotate it. I really don’t know what else to say. Does anybody have any idea how to fix this?

Seems like changing the editor layout fixed it. Weird, but whatever works!

I can confirm that changing layout ( any layout settings from wide to tall ) wont work in my case

Can I please confirm that this totally works. OMFG! After nearly losing my mind for the last couple of hours (months of work) I found this answer. Thanks alot.
The only thing I did last was shut my laptop screen. Guess it’s always worth taking the time to close out of project.

Great it actually works!

Changing the layout didn’t work in my case, but closing and reopening the Scene window fixed it.