65535 bytes limit

I’m running in to this error when I try to make a class that contains vertex array data that has been converted from an .obj file.

Is the best way to handle this to read the vertex data from a file into a buffer? Will this slow down object instantiation? Is there a better way? Does anyone have any examples of how to handle this limitation?

Many thanks for any replies,
rob

Class files are intended to contain code and not data.
Reading binary from a file ought to be faster than tricking a class.
You can’t pass that ‘limitation’.