Get SpatialOS

Sites

Menu
These are the docs for 12.2, an old version of SpatialOS. 13.3 is the newest →

Connecting an external worker to a cloud deployment

Once you’ve got a cloud deployment running, you can connect external workers on your local machine.

If you want to connect a Unity or Unreal client, the simplest way is to use the Launcher.

Prerequisites

Your worker must have an external worker launch configuration.

Connect workers to the deployment

  1. If you don’t have one running already, run a cloud deployment.
  2. Open a terminal and navigate (cd) to the root directory of your project.
  3. Set up a connection to the deployment by running spatial cloud connect external.
  4. Connect a worker to the deployment by running:

    spatial local worker launch <worker type> <launch_config>
    

    where:

    Run spatial local worker launch --help for more information.

    For example, to start a UnityClient using the default launch configuration file, run

    spatial local worker launch UnityClient default
    

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums