eugene.litvinov Posted July 4, 2011 Share Posted July 4, 2011 From some time we have Unigine crash with error in log: 11:47:56 engine\world\WorldSpatial.cpp:1621: Assertion: 'positions.find(position) != positions.end() && "WorldSpatial::removePosition(): can't find position"' Maybe somebody know, what is WorldSpatial and what can led this problem? Link to comment
manguste Posted July 4, 2011 Share Posted July 4, 2011 WorldSpatial is about a BSP tree that is updated each frame. Such assertion means a node was tried to be removed, but it was not found in the spatial tree. Such situations are common when you do something forbidden in flush(): for example, delete node, transform its position, enable/disable it. Take a look here for details what cannot be done from within flush(). Link to comment
eugene.litvinov Posted July 4, 2011 Author Share Posted July 4, 2011 Hm, I only set angular/linear velocity to body in flush method. Thanks. Will be debugging... Link to comment
Recommended Posts