Scene: RemoveAllEntities() crashes every time on certain machines if you have entities in the scene, eg. client disconnects from a scene. After investigating the problem it was clear that entities_.clear() was the reason for this. Unlike RemoveEntity() this functions iter loop did not reset the shared ptrs but used them as it from the iter. There was a todo to convert RemoveAllEntities() to use RemoveEntity(id) so that is what i did. Seems that this fixed the issue RemoveAllEntities() had. Note: i could not reproduce the bug on any machine that has the visual studio dev env, perhaps it has something to do with the end user runtimes memory management with boost::shared_ptrs.
Scene: RemoveAllEntities() crashes every time on certain machines if you have entities in the scene, eg. client disconnects from a scene. After investigating the problem it was clear that entities_.clear() was the reason for this. Unlike RemoveEntity() this functions iter loop did not reset the shared ptrs but used them as it from the iter. There was a todo to convert RemoveAllEntities() to use RemoveEntity(id) so that is what i did. Seems that this fixed the issue RemoveAllEntities() had. Note: i could not reproduce the bug on any machine that has the visual studio dev env, perhaps it has something to do with the end user runtimes memory management with boost::shared_ptrs.

AlphaStaxLLC/tundra,jesterKing/naali,jesterKing/naali,BogusCurry/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,pharos3d/tundra,jesterKing/naali,realXtend/tundra,pharos3d/tundra,realXtend/tundra,jesterKing/naali,jesterKing/naali,jesterKing/naali,BogusCurry/tundra,pharos3d/tundra,AlphaStaxLLC/tundra,AlphaStaxLLC/tundra,realXtend/tundra,BogusCurry/tundra,BogusCurry/tundra,AlphaStaxLLC/tundra,BogusCurry/tundra,realXtend/tundra,pharos3d/tundra,AlphaStaxLLC/tundra,BogusCurry/tundra,realXtend/tundra,jesterKing/naali,realXtend/tundra,pharos3d/tundra