Realm Database for Unity Games (DevBlog #31)

Network Traders, the game I am currently working on, stores parts of the game data in a central, cloud-hosted database. But some of the user-specific data is private in nature and therefore only stored on the player’s mobile device. Until now, I have just serialized this data to persistent storage. But as I needed to add new user-specific properties, I wondered why I should not use a database on the client as well. After all, they may provide benefits such as atomicity or migrations when the database schema changes. After some searching I found Realm, which integrated nicely into my Unity project, although with some intricacies I would have liked to know beforehand.

Continue reading Realm Database for Unity Games (DevBlog #31)