Is it possible to use playfab to store a objects information thats placed by the player so that i can instantiate/load it at a later time? Just the name of the object and the position and rotation.
Is it possible to use playfab to store a objects information thats placed by the player so that i can instantiate/load it at a later time? Just the name of the object and the position and rotation.
Yes and no. For a single player experience, you can absolutely store data about the player's world in the player's data in PlayFab. For a multiplayer experience, though, that would be a bad choice.
Player data is designed to be read and written by a single player. If you find scenarios where lots of players need to read data about a specific player, your options are more limited. We do have player entity objects (https://docs.microsoft.com/en-us/rest/api/playfab/data/object/setobjects?view=playfab-rest). These are small bits of data meant to be read alongside the player's profile. These are useful for something like a player's guild note or maybe some appearance information. They aren't queryable so you can't get to them unless you know how to get access to the specific player to which they're attached.
My plan is for a player to have an appartment and for the player to able to place some furniture then store the furniture name , position and rotation. Then whenever this player enters his own appartment or a friend comes to that place i wanted to retrieve the appartments data. then photon would search in the assets folder for that chairs name and instantiate it with its pos and rot that i stored. Would this be viable? because so far i really enjoy working with playfab and would love to work with it instead of hosting my own mysql database.
Thank you for the information though!
2 People are following this question.