x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can not build and package Dedicated Server game in Launcher Binary Build Engine

Can not build and package Dedicated Server game in Launcher Binary Build Engine

The normal development package build, and then run

WindowsNoEditor\GameName\Binaries\Win64\GameName.exe TestMap -server -game

will launch game normally. No dedicated server running.

Also, I know it can be build and package Dedicated Server with UE4 full source codes.

Product Version: UE 4.12
Tags:
more ▼

asked Jun 13 '16 at 07:57 AM in Packaging & Deployment

avatar image

Henry Read
113 12 15 25

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello,

Building and packaging dedicated servers with a binary version of the engine is not supported. This guide shows how to do this with a source build, in case you're interested: https://wiki.unrealengine.com/Dedicated_Server_Guide_(Windows_%26_Linux)

After speaking to a few people more knowledgeable about this process, I've gotten this information:

As for the -server -game commands, I tried connecting a first person bp project using those commands in a binary build and it looks like it will at least connect. There are a couple of things you would need to change in order to do that though. When I test -commands I run them separately like: 'UE4Editor.exe -server -log' for the server and 'UE4Editor.exe 127.0.0.1 -game -log' for the client. This tells the server to start by loading into a map with a visible command window then tells the client to load up and connect to the local host where the server is. The way you are doing it might be causing the -server to be overwritten by the -game. A couple of trouble shooting things to check would be loading into a blank map and check the task manager for a server that is already running but without a UI.

Let me know if you have any further questions regarding this issue.

Have a great day

more ▼

answered Jun 15 '16 at 03:55 PM

avatar image

Sean L ♦♦ STAFF
43.6k 485 152 442

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question