How to run dedicated server on packaged project

Hello, i’m using the pre-compiled version of the engine and i’ve packaged my project to windows. He generated a WindowsNoEditor folder in which he has the exe in the Binaries\Win32. I looked up online and found this page, which states:

To launch a dedicated server, use the command line:
< mygame.exe > < mymap > -server

So i go to the console and write MyProject.exe Example_Map -server, but he starts the game normally, i’ve also tried MyProject.exe Example_Map?listen -game but the behaviour is the same, which is a game with only the authority and not a client part so most of my client exclusive code does not run. Do you know what i’m doing wrong? Thanks

same here i cant run my game as dedicated server doing the same step as you

mygame.exe map -server or mygame.exe map?listen do the same thing

if someone found how to launch a dedicated server i would like to know how :slight_smile:

From my tests i came to the conclusion that the Shipping version doesn’t have the console and the .exe init arguments. I compiled a Development build and it worked fine.

Didnt work for me. dev build launches normally and brings up a rendering game window with sound and everything instead of acting like a dedicated server