Jump to content

SECTR Culling Not Working In Demo Scenes.


NahFam

Recommended Posts

Unity 2021.3.3f1 / High Definition Render Pipeline (SOLVED)

 

Important Information:

- If you are using HDRP in Unity 2021+, make sure you go into the SECTR_CullingCamera.cs Script and hit CTRL + F on your keyboard and look for "#if UNITY_2018_3_OR_NEWER"

You HAVE to delete that portion of code for every reference you find within the script.

 

Example for a full reference

-----------------------------------------------------

 #if UNITY_2018_3_OR_NEWER
        if (LWRP_Fix)
        {
            RenderPipeline.BeginFrameRendering -= RenderPipeline_BeginFrameRendering;
        }
#endif

-----------------------------------------------------

 

Screenshot descriptions:

This was User Error - Culling Not Working; The RED BOX is the PIP camera, and on the right, the item selected in the Scene Window is the location of my player, the door has closed and the objects in the initial room are still visible.

 

This was due to the unnecessary lines in HDRPConsole Errors; These are the errors prior to the removal of the lines mentioned above.

 

 

 

 

 

 

Console Errors.png

 

  • Like 1
Link to comment
Share on other sites

On 6/25/2022 at 10:27 PM, NahFam said:

Unity 2021.3.3f1 / High Definition Render Pipeline (SOLVED)

 

Important Information:

- If you are using HDRP in Unity 2021+, make sure you go into the SECTR_CullingCamera.cs Script and hit CTRL + F on your keyboard and look for "#if UNITY_2018_3_OR_NEWER"

You HAVE to delete that portion of code for every reference you find within the script.

 

Example for a full reference

-----------------------------------------------------

 #if UNITY_2018_3_OR_NEWER
        if (LWRP_Fix)
        {
            RenderPipeline.BeginFrameRendering -= RenderPipeline_BeginFrameRendering;
        }
#endif

-----------------------------------------------------

 

Screenshot descriptions:

This was User Error - Culling Not Working; The RED BOX is the PIP camera, and on the right, the item selected in the Scene Window is the location of my player, the door has closed and the objects in the initial room are still visible.

 

This was due to the unnecessary lines in HDRPConsole Errors; These are the errors prior to the removal of the lines mentioned above.

 

 

 

 

 

 

Console Errors.png

 

Thank you for this information! 
 

Link to comment
Share on other sites

1 hour ago, Bryan said:

Thank you for this information! 
 

Don't mention it! I'm sure I will be posting more issues since I haven't played around with HDRP too much.

Hope others venturing can find it useful.

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