Test the Realms sample
After configuring the Realms service settings, you can test the Realms sample locally. Make sure you’ve completed the steps in Set up the Realms sample.
- If it’s not already open, open the Realms sample in the Unity Editor.
- Build the client executable from the Realms sample projects.
- Select the RealmsDemoScene scene from
Scenes\RealmsDemoScene
. - Enter Play mode by selecting Play. The world you've created will appear in the menu.
- Select the world you created, join it, and play around.
- Disconnect the client. After disconnecting the client, the sample shuts down the server within a few minutes. But you can also manually end the server from the Unity Cloud Dashboard.
- In the Unity Cloud Dashboard, select Products.
- Under the Gaming Services > Multiplayer heading, locate Multiplay Hosting.
- Select Launch.
- Select Servers.
- After the server terminates, you can join the world again.
- Notice that all the modifications you made persisted after the world reloads.