Search Unity

Bug Possible documentation bug in Graphics.DrawMeshInstanced

Discussion in 'General Graphics' started by Mike37, Oct 24, 2022.

  1. Mike37

    Mike37

    Joined:
    Oct 21, 2018
    Posts:
    26
    Graphics.DrawMeshInstanced() used to throw an error if you tried to draw more than 1023 instances. Now it doesn't. When passing a large array of instances, the Frame Debugger shows it divides up the instances into groups of 511.

    The documentation still says DrawMeshInstanced() supports a max of 1023 instances.

    Was this change intentional? If so, I appreciate the convenience!

    I'm using 2022.1