I was running into a issue while working on my game. Im getting the players Title Data through the GetUserDataRequest
public void GetUserData() { GetUserDataRequest request = new GetUserDataRequest() { PlayFabId = myID, Keys = null }; PlayFabClientAPI.GetUserData(request, (result) => { Level = result.Data["Level"].Value; }, (error) => { Debug.Log("Got error retrieving user data:"); Debug.Log(error.ErrorMessage); }); }
Now my problem is that the Key "Level" does not exist in the players Title Data. But if the Key does not exist on the plyers Title Data i want to create the Key in the players Title Data. Sadly i can not find any documentation about checking if the Title Data exist request. Is there any way to check if the Key exist on the players Title Data?