I make i simple test to reproduce bug. I get 3 different errors in same code. Not sure why it happened.
Steps to reproduce:
create objects in update
create objects on input
delete random objects.
sometimes it failed
Errors:
- Assertion failed: i < Size(), file C:\buildbot\slave\builds\engine-win32-64-master\build\tmp\dynamo_home\sdk\include\dmsdk/dlib/array.h, line 410
- Assertion failed: collection->m_InstancesToAddTail == index || instance->m_NextToAdd != INVALID_INSTANCE_INDEX, file …\src\gameobject\gameobject.cpp, line 1478
- sometimes no assert but dmengine is crashed
example:https://yadi.sk/d/RWFr4PxK3TyQwB