๐Ÿงญ AutoReplication Graph

Short Description

Replication Graph implementation that keeps AutoReplication owners relevant for network updates.

Long Description

The AutoReplication graph registers Object Variable owners with a dedicated actor list, ensuring that replication graph relevancy stays in sync with active streams. It tracks owner registrations and cleans up automatically.

๐Ÿš€ Features

  • Dedicated node for AutoReplication owners.
  • Register/unregister Object Variable owners as streams change.
  • Keeps ownership refs consistent during world resets.

๐Ÿ“š Usage Examples

UGorgeousAutoReplicationGraph* Graph = Coordinator.GetOrCreateReplicationGraph(World);
Graph->RegisterObjectVariable(Variable);

Typically configured via developer settings and handled by the coordinator.

RegisterObjectVariable

Registers an Object Variable so its owner remains relevant in the replication graph.

Parameter Name Type Description
Variable UGorgeousObjectVariable* Object Variable to register.
Graph->RegisterObjectVariable(Variable);

Best Practices

  • Enable the replication graph only when needed to reduce overhead.
  • Keep owner counts accurate by unregistering variables on teardown.

Troubleshooting

  • If owners are not relevant, confirm the graph is selected as the active replication graph class.