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 Modified

Step 3. Press Create Class

image-20241202-173002.png

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

image-20241202-173240.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-20241202-173540.png

image-20241202-173611.png

Info

Close the project once the build is complete.

...