maxVertices < 65536 maxIndices < 65536*3 AND offset<(int)0xFFFF

I run my code which involves instantiating lots and lots of objects and I hit a certain point and unity gives me this error. Any idea what it could be and how to fix it?

maxVertices < 65536 maxIndices < 65536*3
UnityEditor.DockArea:OnGUI()

offset<(int)0xFFFF
UnityEditor.DockArea:OnGUI()

Any chance you can post the code?

I don’t think the code would actually be helpful in this scenario. I found the error occurs when I zoom out of the scene view looking at all the instantiated objects.

I have exactly the same problem here
Have you found some solution?

Concept is what we need to look at, why do you need something with 65535 vertices? why do you need more than 196605 objects. I think the only thing that would come up like that is a voxel program… (i.e. Minecraft clone) Where you would have hundreds of thousands of blocks. The OP probably never got an answer because he never disclosed his intent. He just said, How can I make more… Unity says… you can’t.

The code would actually be helpful :slight_smile: but do you have stats on? ( the little info deal in a scene viewport )