How does LinkedEntityGroup work?

I added the DynamicBuffer and added a referenced entity. My expectation was that if the owner entity is destroyed, the referred entities will also be destroyed. This doesn’t seem to be the case. Am I missing a call? Do I have to create the system myself?

It should contain an entity itself, not only reference to other entity.
For example:
Entity A (main entity)
Entity B (some referenced entity)
Entity C (some other referenced entity)
LinkedEntityGroup associated with entity A will be: [A, B, C]

1 Like

I see. So you don’t just add the references. Thanks!