…and I have no idea why. I can’t even remember when it appeared, so I can’t undo what I might have did. Does anyone know why? (Other people have been having this problem but they don’t have the UnityEditor.DockArea:OnGUI() part.)
Did you just get this once or constantly? Can you still import assets?
This can happen when the position and/or field of view of the scene camera is outside of normal bounds, for example if you have used the scroll wheel to zoom way back. If this is the cause, then selecting an object and pressing 'F' to focus the scene camera will probably make the error stop spamming the console.
May not be the same issue, but check your lights. I had a spotlight, that was destroying FPS, and causing that to be spammed.
I just hit play, and then went through all of my scene objects and removed and restored one by one until i found the culprit, and it was the spotlight, which i’ve now replaced with a pointlight, as I can accomplish the same goal I wanted with it anyway.
I don't think it's the same since mine is talking about the UnityEditor, but thanks, I will try.
My problem was that the max camera clipping range was set to a very high value. Try lowering it, or perhaps the scale of the entire scene. Hope it helps!
This can also happen if you put bad values into the aspectRatio or orthographicSize of a Projector component.
Due to some missing error checking we were putting values near zero or infinity into these fields, which caused the !IsNormalized spamming of the console window, with the call stack from DockArea.OnGUI.
When trying to track this problem down, try disabling different elements of your scene to narrow down where the problem is coming from – based on the answers here, start with your cameras, spot lights and projectors.
Just to help ppl with the same error , i had this error 2 times in diferent projects, the first time i encountered it, was because i had set a projector’s value very close to zero (ex. 0.0001) and the other one that was recent and was because i had a directional light that was in a rotation of (-90,0,0) that for some reason caused this error repeatedly when i was looking a gameobject from a certain angle or moving the camera too fast.
Did you just get this once or constantly? Can you still import assets?
– anon73820239I can still import assets, and whenever it pops up, I get it constantly and it doesn't stop coming up, even when I delete it.
– DayyanSissonThis can happen when the position and/or field of view of the scene camera is outside of normal bounds, for example if you have used the scroll wheel to zoom way back. If this is the cause, then selecting an object and pressing 'F' to focus the scene camera will probably make the error stop spamming the console.
– yoyo