szymon.bernad Posted July 4, 2012 Posted July 4, 2012 Hi, I've found following issue in Unigine code. In method: void BodyRagDoll::setBones(Node *node) //(defined in BodyRagDoll.cpp) there is used operator-> on pointer that can be NULL. It is done without checking, so calling body.setBones(NULL) (to clear existing bones) results in crash. Scenario to reproduce crash in editor: 1. Add ObjectMeshSkinned to scene. 2. Set RagDoll body for object. 3. Click "Create" bones on Body Tab. 4. Click "Remove" bones on Body Tab. There is similar issue with Image pointer in void ObjectGrassWorld::setImage(Image *i) // line:107, ObjectGrass.cpp 1
frustum Posted July 10, 2012 Posted July 10, 2012 Thanks, fixed. However, I can't see the problem with ObjectGrass.
Recommended Posts