Tutorials and guides
[Experimental] Database sync worker
This tutorial takes you through how to integrate the Database Sync Worker Example in a GDK project and use it to store persistent data outside of a SpatialOS deployment.
The Database Sync Worker is a SpatialOS server-worker designed to easily synchronize and persist cross-session game data (such as player inventories) between SpatialOS and an external database.
This tutorial uses the GDK’s Example Project, where the Database Sync Worker will synchronise players’ “All Time Kills” and “All Time Deaths” counts in a local Postgres database.
Before starting this tutorial you must follow:
Additionally, to communicate with the Database Sync Worker, you will be sending SpatialOS commands and listening to events, so a basic understanding of SpatialOS messaging is required. (This is something the GDK typically abstracts from you when you build Unreal workers - in this case we will be integrating a C# worker using the SpatialOS Worker SDK directly so these concepts are important to understand.)
> Next: 1: Set up
2019-11-25 Page updated without editorial review: experimental wording
2019-07-31 Page added without editorial review