Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

If your project is already in C++, then skip this sectionWhy convert the project into a C++ project?

  • To set up a dedicated server, you need to add a server module to the project. You cannot add a server module unless your project has a source folder. To initiate the source folder, you must convert the project into a C++ project.

Follow the steps to convert the project to a C++ project:

Step 1. Navigate to Tools > New C++ Class

...

Info

Once the C++ class is added, close the Unreal Editor.

Step 2. Choose Actor and click Next button.

image-20241202-172930.pngImage Added

Step 3. Press Create Class

image-20241202-173002.pngImage Added

Step 4. Right-click the .uproject file of your Unreal Engine project and select Generate Visual Studio project files.

image-20241129-042511.pngImage Removedimage-20241218-152249.pngImage Added

Step

...

5. Double-click the .sln file to open the project in Visual Studio.

...

Step

...

6. Select the project inside the Games folder (Figure 4), choose Development Editor as the configuration (Figure 5), and then build the project by pressing Ctrl + B.

image-20241129-025042.pngImage Removedimage-20241202-173540.pngImage Added

image-20241129-023758.pngImage Removedimage-20241202-173611.pngImage Added

Info

Close the project once the build is complete.

...