Connecting editor clients to a live world

Requirements

  • All the World Builder content used in the packaged client/server must be available in the editor, as the editor cannot download uploaded World Builder content.

  • Start the editor in the level you want to play in. We donโ€™t currently have ways of checking youโ€™re in the correct level.

  • Youโ€™ll need to know where your editor executable is located. This can sometimes be difficult, but the simplest way is to

    • Launch the desired editor via M2Launcher.

    • Navigate to %localappdata%/M2Launcher/Logs and open the most recent log file.

    • At the end of the file it will display the executable path.

  • Youโ€™ll need the deployment name to hand, which can be found in the โ€œOutput Logโ€ after creating an experience using the UI:

Via PIE

Navigate to โ€œEditor Preferencesโ€ and search for โ€œEditor Connection Strategyโ€, then change to โ€œCloudโ€.

in โ€œEditor Preferencesโ€ search for โ€œSign Inโ€, click the + next to Per Client Sign in Settings and in the newly added array element below set the Type to โ€œSingle Sign Onโ€\

Play standalone

Also in โ€œEditor Preferencesโ€, search for โ€œStandalone Gameโ€œ and add -DeploymentName <DeploymentName> to the โ€œAdditional Launch Parametersโ€ text box.

You can then launch using โ€œStandalone Gameโ€.

The first time you do this, you may be prompted with a Single Sign On dialog in another window. If the client pauses at the sign on phase, look for that window elsewhere.

Play in viewport

Start the editor via command line with the deployment name specified:

<EditorLocation>/Windows/Engine/Binaries/Win64/UnrealEditor.exe -DeploymentName <DeploymentName>

You can then play in any form of PIE on the cloud server.

Via Command Line

Itโ€™s also possible to connect to a cloud world directly from the command line.

First, make sure the project settings are configured to open your intended map on launch.

Youโ€™ll also need to know where the .uproject for your project you created is located.

Below is an example command line that will connect to the cloud as editor, without opening any UI in the process:

<EditorLocation>/Windows/Engine/Binaries/Win64/UnrealEditor.exe" "<PathToProject>\<ProjectName>.uproject" -DeploymentName=<DeploymentName> -game -Windowed -ResX=1280 -ResY=720

Last updated