CoherenceSyncConfigRegistry Save Modes

The CoherenceSyncConfigRegistry is a ScriptableObject that will hold a list of references to your existing CoherenceSyncConfig objects.

CoherenceSyncConfig is a separate ScriptableObject that holds the configuration for each of your networked objects.

Since the Registry needs to keep a list of references, in coherence we offer three different ways you can handle your CoherenceSyncConfigRegistry asset:

  • Sub Assets: The CoherenceSyncConfig assets will be saved as sub-assets of the CoherenceSyncConfigRegistry asset.

This option generates the least amount of assets on the disk but it is highly susceptible to version control conflicts.

  • Standalone Assets: The CoherenceSyncConfig assets will be saved separately in the Assets/coherence/baked folder, the CoherenceSyncConfigRegistry will simply keep a list of references to them.

This options creates more assets on the disk but it is less susceptible to version control conflicts.

  • Dynamic Standalone Assets: The CoherenceSyncConfig assets will be saved separately in the Assets/coherence/baked folder. The CoherenceSyncConfigRegistry will not be saved to disk but it will be generated on-demand in memory.

This option is recommended for large development teams, to avoid version control conflicts.