Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question GPU instancing strange behavour

Discussion in 'General Graphics' started by marckv, Jul 25, 2022.

  1. marckv


    Sep 19, 2013
    Hey all, hoping someone can help me here.

    Does anyone know why my objects don't batch together at certain distances?


    As you can see, when the plants have some distance between them, they do not batch, yet when they are next to each other they do.
    I am using GPU instancing on the material, SRP batcher is off, same thing happens with shadows on or off. It's really strange. 2021.3.2 URP.
    Any ideas?

    I assumed the draw call order was the problem. But that doesnt seem to be it.

    It seems to be distance from camera, or something that is linked to that at least.
    Last edited: Jul 25, 2022
  2. c0d3_m0nk3y


    Oct 21, 2021
    Usually it tells you why it couldn't batch when you click on it (I know it does in the built-in render pipeline)