Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question GPU instanced mesh does not render for a camera that is strictly being rendered by Camera.Render()

Discussion in 'General Graphics' started by nickhudson2244, Sep 5, 2023.

  1. nickhudson2244


    Mar 18, 2019
    Mesh does not render when camera is called strictly with Camera.Render(). As in the camera component is disabled. Mesh is being drawn with Graphics.DrawMeshInstanced()

    In this video, the lightning is the mesh not rendering. When I disable the camera component, the camera is resorting to the manual rendering call in my script. You can ignore where it says "No camera rendering". The camera is rendering to a texture.

    Pipeline: URP
    Unity Version: 2021.3.10f1
    ontrigger likes this.
  2. ekakiya


    Jul 25, 2011
    For Rendering with disabled camera component, the ForceEvenIfCameraIsNotActive option must be enabled for culling in SRP.
    But I don’t know how to enable the option for URP’s culling..