This page is about deploying from the Unity Editor. If you want to build from the command line, see Deploying locally from the command line (SpatialOS documentation).
-
In the Unity Editor, open the SpatialOS window (
Window > SpatialOS). -
Under
Run SpatialOS locally, clickRun.This opens a console running
spatial local launch.
When SpatialOS starts successfully, you should see SpatialOS ready in the console. At this point, you can access the
Inspector (SpatialOS documentation) at http://localhost:21000/inspector.
Once the deployment is running, to connect a Unity client:
-
In Unity, open
workers/unity(or the directory that contain the Unity client), and open the sceneUnityClient.unity. -
At the top, click Play ▶.
The scene will open, looking something like this:
For information about deploying to the cloud, see Deploying to the cloud (SpatialOS documentation).
For a handy guide to how to deploy Unity projects to the cloud, see this cheat sheet:


