Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

COND_InitialOnly functionality is limited #2951

Open
m-samiec opened this issue Mar 8, 2021 · 0 comments
Open

COND_InitialOnly functionality is limited #2951

m-samiec opened this issue Mar 8, 2021 · 0 comments

Comments

@m-samiec
Copy link
Collaborator

m-samiec commented Mar 8, 2021

Description

The COND_InitialOnly replication condition support is not enabled by default, and has caveats when enabled. We recommend you don't use it where possible.

When SpatialGDKSettings::bEnableInitialOnlyReplicationCondition is disabled, all COND_InitialOnly properties will be replicated as if they were defined with COND_None.

When SpatialGDKSettings::bEnableInitialOnlyReplicationCondition is enabled, initial only data on dynamic components will not be replicated and will result in a runtime warning. Additionally, initial only data may not be consistent with the data on the rest of the actor. For instance if all data is written on an actor in epoch 1, and then again in epoch 2, it's possible for a client on checkout to receive epoch 1 of initial only data, but epoch 2 of the rest of the actor's data.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants