Sites

Menu

The Starter Template

If you manually built your Engine Fork, i.e did not use InstallGDK.bat, please follow these setup instructions instead of the below.

1. Set up

To use the Starter Template, you must complete the following steps:

  1. Create a new project using the Starter Template
  2. Build the GDK for Unreal module dependencies

Step 1: Create a new project using the Starter Template

After building the Unreal Engine fork, in File Explorer, navigate to UnrealEngine\Engine\Binaries\Win64and double-click UE4Editor.exe to open the Unreal Editor.

  1. In the Project Browser window, select the New Project tab and then the C++ tab.
  2. In this tab, select SpatialOS GDK.
  3. In the Folder field, choose a suitable directory for your project.
  4. In the Name field, enter a project name of your choice.
  5. Select Create Project.

Note: When you create a project, the Unreal Engine automatically creates a directory named after the project name you entered. In this tutorial, <YourProject> is used as an example project name.

The Unreal Engine Project Browser

Image: The Unreal Engine Project Browser, with the project file path and project name highlighted.

After you have selected Create Project, the Unreal Engine generates the necessary project files and directories, it then closes the Editor and automatically opens Visual Studio.

After Visual Studio has opened, save your solution and close Visual Studio.

Step 2: Build the dependencies

To use the Starter Template, you must build the GDK for Unreal module dependencies and then add the GDK to your project. To do this:

  1. In File Explorer, navigate to your <GameRoot> directory, right-click <YourProject>.uproject and select Generate Visual Studio project files.
  2. In the same directory, double-click <YourProject>.sln to open it with Visual Studio.
  3. In the Solution Explorer window, right-click on <YourProject> and select Build.
  4. When Visual Studio has finished building your project, right-click on <YourProject> and select Set as StartUp Project.
  5. Press F5 on your keyboard or select Local Windows Debugger in the Visual Studio toolbar to open your project in the Unreal Editor.
    Visual Studio toolbar
    Image: The Visual Studio toolbar

Note: Ensure that your Visual Studio Solution Configuration is set to Development Editor.

> Next: 2: Launch a local deployment with multiple clients



————
2019-07-16 Page updated with editorial review.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums