TriangleMesh Load null ptr exception
Posted: Tue Dec 08, 2009 11:32 pm
Hi!
I create a TriangleMesh from 2304 vertices and 12960 indices.
I use save to stream. ( from a content writer )
When I load it( from the content reader ) using load from stream I get an null ptr exeption in BEPUphysics.dll.
I suppose Load/Save is supposed to work? What kind of errors may I have made?
I've written other data to the stream before calling save. That data looks ok when loading.
I've also tried with a smaller mesh ( 1502 vertices and 9072 indice). Same exception.
thanks!
I create a TriangleMesh from 2304 vertices and 12960 indices.
I use save to stream. ( from a content writer )
When I load it( from the content reader ) using load from stream I get an null ptr exeption in BEPUphysics.dll.
I suppose Load/Save is supposed to work? What kind of errors may I have made?
I've written other data to the stream before calling save. That data looks ok when loading.
I've also tried with a smaller mesh ( 1502 vertices and 9072 indice). Same exception.
thanks!