I want to build our game for LinuxServer, but that platform is missing from Cook by the book

I’m a developer joining the team. The main dev can build the server. We’d like to get where I can build the server too. We develop on Windows, and run the server side on Linux in AWS. Our game is multiplayer, hence the server to run the persistent worlds.

Steps taken so far:

Install the toolchain for our version of UE 4.27
Cross-Compiling for Linux | Unreal Engine 4.27 Documentation | Epic Developer Community

Launch options / project launcher
• Add custom launch profile
• Point the Project to the FreelandVR uproject file
• build: Debug
• Cook = By the book
… …○ Cooked platforms: LinuxServer

That’s where I get stuck. The Cooked platforms list of checkboxes doesn’t include any for Linux or LinuxServer. He shared his screen, and his does. I have restarted my PC and checked again, but it’s the same.

We also use the Oculus-VR Fork of Unreal Engine from Source. That’s all done and built, and the game client runs.

What can be missing please?

Never mind, I resolved it!

The missing step that’s not mentioned in the docs is that you then need to go to your game’s .uproject, then Right-click on it and Generate Visual Studio Project Files. This adds Linux lines to the solution.

I then built the .sln, resolved one plugin issue and got a successful build.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.