[SOLVED] CIGI destroy component callback is never called


photo

Recommended Posts

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 post

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:

Link to post
  • silent changed the title to [SOLVED] CIGI destroy component callback is never called

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 post

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 post

The new fix works ! Thanks a lot !

Link to post