Netcode ghost component

Let say I create FooComponent as shown below that value will sync at both client and server but anotherValue is client only. Is this kind of ghost component setup still supported or I should create another BarComponent and move anotherValue to BarComponent? From what I see at 1.0.0-pre.15, I will have weird behavior that FooComponent data is not sync properly.

public struct FooComponent : IComponentData
{
[GhostField]
public float value;
public float anotherValue;
}

Yep it is! :slight_smile: Whenever the client receives a snapshot of FooComponent, it’ll only write to value, completely ignoring anotherValue. This is true even in prediction + rollback contexts.