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.

Bug Possible documentation bug in Graphics.DrawMeshInstanced

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

  1. Mike37


    Oct 21, 2018
    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