Search Issue Tracker

Duplicate

Votes

44

Found in

5.3.0b4

Issue ID

740602

Regression

No

[Assert] Screen position out of view frustum error printed non stop (Camera::ScreenPointToRay or Camera::ScreenToWorldPoint)

Scene/Game View

-

Open Scenes\level1.unity in the attached project and press Play. Notice how the Console gets spammed with "Screen position out of view frustum" errors:

Screen position out of view frustum (screen pos 0.000000, 0.000000, 1555688.750000) (Camera rect 0 0 256 256)
UnityEngine.Camera:Render()
UnityStandardAssets.Water.Water:OnWillRenderObject() (at Assets/MiniGolf/Standard Assets/Environment/Water/Water/Scripts/Water.cs:108)
UnityEditor.DockArea:OnGUI()

Recommendation:

If there are resources for it, add support for double precision to the relevant methods. Otherwise, clamp the far clip plane to never be larger than 1000000 (same max value it had before).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.