Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

RenderLoop/RenderLoopNewBatcher .Draw() DrawMeshInstanced failure

Discussion in '2019.3 Beta' started by alia_0, Jun 13, 2019.

  1. alia_0

    alia_0

    Joined:
    Nov 28, 2012
    Posts:
    17
    Hi this is a little vague, mostly because im super new to the SRP.

    I have a custom RenderPipeline that renders a mesh when I use DrawMesh, but does not when I call DrawMeshInstanced. I don't even get a draw call for it. This failure occurs weather or not the SRP Batcher is called.

    The same scene renders fine in the default HDRP so its obviously my bug. What I'm looking for is any ideas what might be stopping the DrawMeshInstanced from submitting the mesh. I thought maybe it was getting culled for some reason but I cant find anything that seems suspicious.

    Any ideas to where I might look next?