[1231] DrawMeshInstanced can only draw to layer 0 and 8.
Nestorboy
I was messing around with VRCGraphics.DrawMeshInstanced in the editor when I noticed that I was suddenly getting errors after trying to draw to certain layers. I ended up testing all of the layers in my project in the editor, and the only one I was able to draw to was Default (0). So after that I decided to test a bunch of layers in game to make sure it wasn't just some editor-only issue, but it almost behaves exactly the same there. In the game I was able to draw to Default (0) and Interactive (8).
How to reproduce the issue:
- Write an Udon program which uses VRCGraphics.DrawMeshInstanced to draw to any layer other than Default (0) or Interactive (8).
Photo Viewer
View photos in a modal
Log In