eugene.litvinov Posted December 9, 2013 Posted December 9, 2013 Hi all. We are using new function WorldTrigger::setTargetTypes() and headed a problem with it. We use next code: int nodeTypes[] = ( ::NODE_OBJECT_MESH, ::NODE_PLAYER_ACTOR ); shapeTrigger.setTargetTypes(nodeTypes); it works great, but when we try to reload world or close engine we always get an error: 10:33:42 engine\world\worlds\WorldTrigger.cpp:258: Assertion: 'isTargetNode(node) && "WorldTrigger::removeNode(): is not a target node"'
silent Posted December 11, 2013 Posted December 11, 2013 Hi Eugene! Could you please provide simple test scene for reproduction? I can't reproduce such behavior on latest SDK in worlds/trigger_** scenes. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
santosh.a Posted May 8, 2015 Posted May 8, 2015 Hi Andrey, I had the exact same problem today and found this thread. I can confirm that setTargetType() function is causing this, most probably the parameter passed into it. Can you post a sample code of using this function? Couldn't find one in the sdk samples. Thanks.
silent Posted May 8, 2015 Posted May 8, 2015 santosh.a Which SDK version are you currently using? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
santosh.a Posted May 11, 2015 Posted May 11, 2015 It is Jan-2014 version. Also, this error occurs only in debug mode.
silent Posted May 11, 2015 Posted May 11, 2015 This issue should be fixed in the latest stable Unigine 1 SDK (2014-07-07) or Unigine 2.0 beta2 (fix was added in April, 2014). How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts