How to modify read-only or internal player data from CloudScript
Safely update read-only and internal PlayFab player data from CloudScript using server.UpdateUserInternalData with C# and JavaScript sample code.
Player data is accessible from CloudScript if you require it for your title.
For more information about using CloudScript, see CloudScript quickstart.
The C# Sample in this topic are written for the Unity SDK. The Unity SDK uses an event driven model to handle asynchronous tasks. To run the sample code using the C# SDK, you must modify the code to use an async Task model. Methods that must be modified have Async append to the method name in the signature. For example, SetObject in the Unity SDK becomes SetObjectAsync in the C# SDK. For more information, see Asynchronous programming with async and await.
Last modified on October 20, 2026
