Search Unity

Resolved Max batch size for BatchRendererGroup

Discussion in 'General Graphics' started by Baggers_, Aug 11, 2020.

  1. Baggers_

    Baggers_

    Joined:
    Sep 10, 2017
    Posts:
    98
  2. Baggers_

    Baggers_

    Joined:
    Sep 10, 2017
    Posts:
    98
    The limit is 1023 instance per batch
     
  3. Baggers_

    Baggers_

    Joined:
    Sep 10, 2017
    Posts:
    98
    Important side note. UNITY_INSTANCED_ARRAY_SIZE limits still apply so on desktop your probably getting ~500 instances per batch. Unity seems to overflow batches larger than this (but below 1024) into multiple batches, which can really screw with your instance-ids if you weren't expecting it :p
     
    unity_IpxdANggCs1roQ likes this.