Jump to content

Gaia Render Camera ... Screen position out of view frustum - too frequently.


homicide
Go to solution Solved by Bryan,

Recommended Posts

PWS_WaterSystem.cs


at this exact spot 

 

            m_reflectionCamera.nearClipPlane = 0.001f;
            m_reflectionCamera.ViewportToScreenPoint(m_reflectionCamera.transform.position);
            if (!m_reflectionCamera.orthographic)
            {
                m_reflectionCamera.Render();
            }

 

Its frustrating as all hell, as it happens nearly every time entering playmode.  Thats the exact error output.  The exact script and line that it opens to.  I read another poster mention adding a Vector3.euler check to make sure its not .zero - but i have evn tried that , and it does not stop it.

So - any idea how to fix this.

 

Unity 2021.3.5f lts, Gaia not pro - complete up to date.

Link to comment
Share on other sites

  • Solution

Hello, this is actually caused by Unity and most of the time happens with or without Gaia in the project. 
Why it targets our script we have looked into it and nothing seems to actually fix this issue. 
This shouldn't hurt the project, and I do believe doesn't show in a build. It does have something to do with the editor. 
I know previously this was in Unity's Issue tracker and hadn't been solved by them either. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...