View and manage state
View, update and clear the stored state of a player or multiplayer session from the Unity Dashboard or the Cloud Code Admin API.
Read time 1 minuteLast updated 2 days ago
Cloud Code stores state for each scope, whether that's a player or a multiplayer session. You can view and change a scope's state outside your game, for example to check a player's progress or reset a session that's stuck.
Unity Dashboard
To view and manage the state of a player or multiplayer session, go to the Cloud Code page in the Unity Dashboard.
Cloud Code Admin API
The Cloud Code Admin API has endpoints to get, update and clear a scope's state, so you can build the same workflow into your own tools:
- Get module state returns each class's state as JSON, plus any active timers.
- Update module state replaces the state of the classes you send.
- Clear module state clears module state, timers or both.