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.

  1. If it’s not already open, open the Realms sample in the Unity Editor.
  2. Build the client executable from the Realms sample projects.
  3. Select the RealmsDemoScene scene from Scenes\RealmsDemoScene.
  4. Enter Play mode by selecting Play. The world you've created will appear in the menu.
  5. Select the world you created, join it, and play around.
  6. 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.
    1. In the Unity Cloud Dashboard, select Products.
    2. Under the Gaming Services > Multiplayer heading, locate Multiplay Hosting.
    3. Select Launch.
    4. Select Servers.
  7. After the server terminates, you can join the world again.
  8. Notice that all the modifications you made persisted after the world reloads.