Hi, for my use case, I wanted to have a persistent, server-side NPC instance that multiple players can interact with. But I am not sure where to keep the NPC data (such as HP), or how to easily manage NPC instances (like a player manager).
From what I understand, cloud save and economy resource instances are bound to the player. I was thinking about using Remote Config, but I’m not too sure if storing a massive JSON under a config to keep track of multiple instances of a NPC was the way to go.
Any guidance is appreciated!
If all fails, I wonder how viable it would be to use a dummy player to store data of a NPC instance? (or simply any server-side data to freely use through cloud code)
You could look at using cloud code with economy and remote config with game overrides.
Hi UnityUser8080, we’re actually currently working on adding capabilities for non-player data to Cloud Save! This is one of our team’s top priorities at the moment, so hopefully we’ll be able to give you an update on this functionality soon.
2 Likes
Thanks for the reply. Do you know if there would be a size limit (like the 5mb limit per player) on the non-player cloud save?