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).

Comments (21)

  1. 0dedc932546fc1bb96e455dd64e6fb58?d=mm

    mjacketsss

    May 30, 2020 17:00

    I appreciate this blog your blog is vert help full for me i really enjoyed this stuff dude.
    https://www.hleatherjackets.com/blog/deadpool-costume/

  2. 0dedc932546fc1bb96e455dd64e6fb58?d=mm

    mjacketsss

    May 30, 2020 16:59

    This is the first time that I visit here. I found so many exciting matters in this particular blog, One thing I would like to request you that pls keep posting such type of informative blog.
    https://www.mjackets.com/category/birds-of-prey-shop/

  3. 2adfaf9fa6f954b1cdb5b80458ac97f2?d=mm

    kevinbear741

    May 21, 2020 09:20

    Its such a wonder full article provides its such a nice stuff post i really impress this blog keep doing great job Click here https://www.black-leatherjacket.com/star-trek-discovery-jacket

  4. Bb575656077ad4ad4ca285ccd2d8b8a7?d=mm

    GroverGarcia

    May 20, 2020 09:03

    The post is very helpful especially for who those want to read this type of informative post and thanks for sharing. https://www.dealsaverz.com/store/doordash/

  5. Bb575656077ad4ad4ca285ccd2d8b8a7?d=mm

    GroverGarcia

    May 20, 2020 07:00

    Around the world, a huge crowd wants to read this type of post especially for those who relate this type of field I am also part of them, and the post is proven very helpful for me. https://www.michaeljacksoncostume.com/product/michael-jackson-blood-on-the-dance-floor-jacket/

  6. 2adfaf9fa6f954b1cdb5b80458ac97f2?d=mm

    kevinbear741

    Feb 20, 2020 12:40

    get good now look at him he the real goat bro Very interesting information post dude
    https://www.usajacket.com/product/ralph-breaks-internet-mulan-red-jacket/

  7. D187c706c5a84732adedd589d7e3671f?d=mm

    toolparaphrase

    Jan 12, 2020 18:35

    Having this issue in 5.3.2f1. Even removing default from the reflection mask doesn't help. Only if I deactivate the Planar Reflection script does it go away.
    https://paraphrase.rewriter-tool.com/
    https://seotoolcheckers.com/grammar-checker
    https://paraphrasingstool.com/
    https://seotoolcheckers.com/mobile-friendly-test

  8. 85809720ba1b9ed66932183f00365cef?d=mm

    Meceka

    Nov 11, 2019 17:39

  9. 4560fb9741931c52b1fb1bc9e9f689c8?d=mm

    thefallengamesstudio

    May 17, 2018 21:06

  10. 1e85fbd074d476a5365ac2d64ba9fc26?d=mm

    nikix22

    Mar 15, 2018 12:46

    Try with this fix! :)

    In Water.cs you have 2 places with this calls (in function OnWillRenderObject() ) :

    ...
    reflectionCamera.Render();
    ...
    refractionCamera.Render();
    ...

    Just add condition before render like this:

    ....
    if (!reflectionCamera.orthographic)
    refractionCamera.Render();
    ...
    if (!refractionCamera.orthographic)
    refractionCamera.Render();
    ....

    this worked for me, and rendering still works even in Editor window, all without errors.
    Cheers!

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.