Jump to content

Error in engine\world\WorldSpatial.cpp


photo

Recommended Posts

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

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
×
×
  • Create New...