Crash
Assertion failed: (i < Size()), function operator[], file /Users/builder/ci/builds/engine-darwin-master/build/tmp/dynamo_home/sdk/include/dmsdk/dlib/array.h, line 410.
After creating/removing a few gameobjects with models it just crashes with above message.
After a long time of error checking my project it seems like I am actually doing it right with no leaks so I created a small project for you to test if interested.
Created gameobject with one model in it.
Creates several instances of gameobject via a factory. Put them in a table.
When there are more than 4 objects on screen, delete the first in the table.
After 26 instances has been created it crashes.
I got a project to try if interested.