Skip to main content
Skip table of contents

Convert the Project into a C++ Project

Why 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

image-20241202-165911.png

Figure 1. New C++ Class

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

Step 2. Choose Actor and click Next button.

image-20241202-172930.png

Figure 2. Select Actor

Step 3. Press Create Class

image-20241202-173002.png

Figure 3. Create Class

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

image-20241218-152249.png

Figure 4. Generate Visual Studio Project Files

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

image-20241218-152326.png

Figure 5. Open the .sln File

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

Figure 6. Select the Project

image-20241202-173611.png

Figure 7. Configure as Development Server and Build

Close the project once the build is complete.


💬 Ask questions and help your peers Community Forum

📄 Need help? Contact Support

 

Facebook | GitHub | LinkedIn | YouTube

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.