Hello,
I need to store an entity reference in a shared component :
public struct MotionSpace : ISharedComponentData
{
public Entity value;
}
// ... in baker :
AddSharedComponent(new MotionSpace { value = baker.GetEntity(root) });
// ...
At runtime, the shared component still holds the entity from the conversion world and is not patched like standard components.
Looks like a bug to me but maybe it’s a limitation of SharedComponents?