Jump to content

[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 comment
  • 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 comment

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
×
×
  • Create New...