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"

Dedicated Server crashs on launch

Hi,

I followed this tutorial https://wiki.unrealengine.com/Dedicated_Server_Guide_(Windows_%26_Linux)#2._Target_file_instructions_for_engine_version_4.15

When I try to run the server on windows it crashs on launch. Even with the -log argument it's not possible to read the errors (there is alot red) before the window disappears.

I searched alot just to figure out how to make the window stay, so I could read the errors, but I couldn't find anything.

Product Version: UE 4.15
Tags:
more ▼

asked Mar 09 '17 at 06:27 PM in Packaging & Deployment

avatar image

RelaX92
5 1 1 3

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

1 answer: sort voted first

Hey RelaX92,

We've recently had one of our staff members write up a more comprehensive guide for setting up a dedicated server. Go ahead and run through these steps, and don't forget to include -log in the shortcut so you can see the log in the command window. You can later look at the log in your packaged game's Saved->Logs folder and you can see what errors you're running into.

https://wiki.unrealengine.com/4_13%2B_Network_Guide#Dedicated_Server

Let me know if that helps

more ▼

answered Mar 09 '17 at 06:43 PM

avatar image

Sean L ♦♦ STAFF
43.6k 485 152 442

avatar image RelaX92 Mar 09 '17 at 07:12 PM

Thanks, I already run in an error with the other guide

".Server.Target.cs(29,48) : error CS0117: 'UnrealBuildTool.UnrealBuildTool' no definition for 'GetAllServerPlatforms'."

doesn't seem to work with 4.15

avatar image Sean L ♦♦ STAFF Mar 09 '17 at 07:48 PM

Comment out this entire function and try again:

  public override bool GetSupportedPlatforms(ref List<UnrealTargetPlatform> OutPlatforms)
     {
         // It is valid for only server platforms
         return UnrealBuildTool.UnrealBuildTool.GetAllServerPlatforms(ref OutPlatforms, false);
     }

I just built a dedicated server earlier and had to do that and I was able to get it to build and run successfully.

Let me know if that helps.

(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