- Home /
What means "Screen position out of view frustrum"?
I'm getting this error, and have no idea what it means.
Screen position out of view frustum (screen pos 260.750000, 0.000000, 1000.000000) (Camera rect 0 0 522 0) UnityEditor.DockArea:OnGUI()
I just started a new project/scene -- it barely has anything in it. I was editing a script (writing new), when suddenly I got half a dozen of these errors in the log.
My scene has no GUI (that I know (yet!))
Help?!
Thanks!
Just restart Unity. It's a bug that has been present for a long time, but it isn't predictable reproducible so it is difficult to fix. The error is harmless.
PeterG: That was, indeed, the solution. If you care to copy/paste it into an answer (vice comment), I'll credit you for it. +1 on the comment, anyway.
Answer by Peter G · Feb 26, 2011 at 09:46 PM
Just restart Unity. It's a bug that has been present for a long time, but it isn't predictable reproducible so it is difficult to fix. The error is harmless.
Answer by PaulUsul · Jan 04, 2011 at 09:47 AM
It could also be that you have changed a cameras normalized viewport rect (x,y,width,height). x + width can never exceed 1 the same goes for y and height. This variable is changeable from the inspector so it might have been a mistake or miss click.
Answer by Yoerick · Nov 10, 2010 at 01:27 PM
I only got this error when I tried to draw a GUI element or a Rectangle at a position outside the window range. Are you sure you don't use the function onGUI() in any of your scripts?
By double clicking the error, the script that causes the error should open up. Make sure you don't make any rectangles (by doing "Rect()" or "new Rect()") that have x or y values outside of the screen boundaries.
I think using something like "new Rect(100000,10,10,10)" gives you an error like that.
I don't know what else could cause it
Whatever the issue was, it went away when I quit & relaunched Unity. I'm going to chalk it up to sunspots. If someone with privileges wants to close this one, I'm good with that.
Answer by EugeneJefferson · Sep 05, 2016 at 09:25 AM
my camera clip planes far was changed from code and got null , thats why i has this problem