Amerio.Stephane Posted October 2, 2018 Share Posted October 2, 2018 Hello, I instrumented the CIGI demo and the callback set by "cigi->setDestroyComponentCallback" is actually never called. When removing an entity through cigi, the node is actually removed from the Unigine scene, but the component is still present (never destroyed, it's update() method is still called). Link to comment
silent Posted October 4, 2018 Share Posted October 4, 2018 Hi Amerio, Thanks for the feedback. We need some additional time to get closer to the understanding what is going on here. We will surely let you known if we found something. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted October 4, 2018 Share Posted October 4, 2018 Please, find fix in the following thread: https://developer.unigine.com/forum/topic/5107-cigi-crash-when-changing-ownship-entity-type/ Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Amerio.Stephane Posted October 4, 2018 Author Share Posted October 4, 2018 Hello, After applying the patch, the destroy callback is still not called (I recompiled the code for the correct target and replaced the bin in my project bin folder) Link to comment
Amerio.Stephane Posted October 10, 2018 Author Share Posted October 10, 2018 Hello, I uploaded on the ftp a test scene test_cigi_no_destroy.7z showing that the callback is never called when an entity is destroyed, but just when teh application is exited (and then only once, even if multiple entity have been added) (tested with HEmu, adding entities with type #1 with component id #0, files included) Can you please confirm you have the same behavior ? Link to comment
silent Posted October 10, 2018 Share Posted October 10, 2018 Hi Amerio, Thanks for the test scene. We will take a look into it and report back. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
alexander Posted October 10, 2018 Share Posted October 10, 2018 Sorry, my bad. Please, find fix in the following thread: https://developer.unigine.com/forum/topic/5107-cigi-crash-when-changing-ownship-entity-type/ Link to comment
Amerio.Stephane Posted October 10, 2018 Author Share Posted October 10, 2018 The new fix works ! Thanks a lot ! Link to comment
Recommended Posts