Sites

Menu

Build your workers

As you will be launching a cloud deployment, you need to build out the code executables which will be run by SpatialOS servers - these are called workers.

1. Disable Burst compilation

First, make sure Burst compilation is disabled. From your Unity Editor Jobs menu, make sure Enable Burst Compilation is unchecked.

Leaving Burst compilation enabled will throw errors when cross-compiling (building for Linux on Windows, for example).


2. Build workers

Now build your workers from the Unity Editor’s SpatialOS menu by selecting SpatialOS > Build for cloud > All workers. (Shown below.)

SpatialOS menu in Unity
The SpatialOS menu in the Unity Editor

Building workers for the first time may take a while (about 10 minutes). Why not make yourself a cup of tea or check out our Youtube channel while you wait?

Your workers have finished building when you see the following message in your Unity Editor’s Console window:

Completed build for Cloud target

NOTE: You may get a number of warnings displayed in your Unity Editor Console window. You can ignore the warnings at this stage.

If your build succeeded, you can now upload and launch your game.

If you got build errors in Unity Editor Console window, check the Common build errors section below.


Next: Upload and launch your game

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums