I'm intializing player data on cloud script when player newly created. But I can't type over 10 area inside of KVP datapayload. I split one payload to two but that means 2 times player update call on server and it's kind of bad even api call and performance. Wha is the best way to do this?
I used:
var dataPayload = {}; dataPayload["Key1"] = "Value1"; dataPayload["Key2"] = "Value2"; dataPayload["Key3"] = "Value3"; dataPayload["Key4"] = "Value4"; dataPayload["Key5"] = "Value5"; dataPayload["Key6"] = "Value6"; dataPayload["Key7"] = "Value7"; dataPayload["Key8"] = "Value8"; dataPayload["Key9"] = "Value9"; dataPayload["Key10"] = "Value10"; dataPayload["Key11"] = "Value11"; // when after added this key func. retuning null. server.UpdateUserData({ PlayFabId: currentPlayerId, Data: dataPayload });