Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Culling plane count is fixed to a constant size

Discussion in 'General Graphics' started by PrecisionCats, Jul 22, 2021.

  1. PrecisionCats

    PrecisionCats

    Joined:
    Nov 19, 2017
    Posts:
    40
    Feedback Wanted: Scriptable Render Pipelines
    Why does modifying ScriptableCullingParameters.cullingPlaneCount give this error?
    Code (CSharp):
    1. Assertion failed on expression: 'params.cullingPlaneCount == kPlaneFrustumNum'
    My game is 2D and I know for a fact that there is nothing farther than the far clip and nothing nearer than the near clip, so I wanted to set the cullingPlaneCount to be 4.
     
    Last edited: Jul 22, 2021