[SOLVED] Screen position out of view frustum

Screen position out of view frustum (screen pos 506.000000, 331.000000) (Camera rect 0 0 600 450)

The error appears every frame while my mouse cursor is within the game window.

Anyone know what this means or how to fix it…?
cheers

1 Like

Solution:
One of my cameras near clip planes was set to 0.

4 Likes

I’m having this problem 5 years later, so I wanted to leave my issue/solution here as well:

My clip plane was fine, but my main camera’s size was set to 0.

4 Likes

Me too having the same problem, but my camera’s near clip plane is 0.3 and far clip plane is 1000 and I am using perspective camera projection so there is no camera size, Now anyone knows how to fix it?
Thanks in advance…

I just had this problem in a project with Oculus support. Somehow, the Field-of-view had been set to zero for the camera on OVRCameraRig->TrackingSpace->RightEyeAnchor. Setting it to 60 to match the other eye resolve the issue.

Having the same problem, but I can’t find anything wrong with my camera settings:

1 Like

If you set the projection parameter to perspective, this error goes away at startup.
Cameras set in orthographic seem to show this error for me, at startup. It’s a benign warning and doesn’t cause errors outside of the editor, nor outside of the start of the editor. It’s just a bug unity has to fix.

2 Likes

I had about 10 such error messages (duplicates) appear each time I opened a Unity 2d project (not when running the game).

Changing camera projection to “Perspective” and then back to “Orthographic”, saving and restarting Unity fixed it for me. Thanks for the tip @Tekksin

2 Likes

did the same thing - didnt work… at least, those 8 error messages don’t affect anything (seems)

I have the same problem. Switching to perspective and back doesn’t work. Also closing the scene tab and reopening doesn’t work (a possible solution from another thread about the same problem).

Clipplanes are at 0.3 for near and 1000 for far.

This happens to me on scenes that have the Main Camera object automatically created.
New scene with default items. Save, close, re-open unity. Errors.
Delete auto-created camera object, create one manually, save. Close, re-open unity. Good.

11 Likes

I’ve followed pavlito suggestion, and it fixed the annoying errors

I also followed pavlito’s suggestion and it worked great for me.

Thanks :wink:

Thank you Pavlito. That worked fine.

It also works with MainCamera’s Tag set Untagged

3 Likes

Thanks Pavlito, that fixed it for me.

Same problem here. just close the scene tab and open it again, solved like a charm

3 Likes

Same Problems, with MainCamera’s Tag set Untagged helped

3 Likes

I fix it by setting my cameras near clipping planes to 1 instead of the 0. something value it normally is. Restart and it usually fixes the problem.

2 Likes

@litebox 's method is the only one that worked for me. I untagged the camera and the error is not showing up anymore. But I think this is not an optimal solution. The main camera tag is needed for my code.
Happy New Year btw :slight_smile:

3 Likes