Jump to content

Node and Component life when attached entity


photo

Recommended Posts

Posted

Hello,

I've a bit of trouble when creating a node with a component and attaching it to an entity. My goal here is to create a node on the master with some specific component and attach it to the entity 0. The sample project here given demonstrate that in a minimal sample. complife.zip

The problems:

  • when created and attached, the node is created twice on the slave (once as a child of the entity, as expected, but also once with no parent) 
  • upon a database_reload, the node is still created twice, but both are child of the entity. And one has a non existing master ID

I'm sure I'm missing some very fundamental logic here.

Expected:

  • The node and its component shall exist only once on both master and slave, as a child of the entity 0. They are destroyed on the world shutdown, and recreated on world load.

Thanks

Posted

Hi Stephane,

Thank you for the test sample. We've tried to reproduce this behavior and was able to caught it once, but since then everything is working fine :)

Looks like we would need some additional time to find the root cause and get a stable repro. Right our main priority is nodes ID changes (from your previous thread). After that we can spend more time here.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...