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"

package dedicated server : error to uproject

Hello, I followed the wiki concerning building a dedicated server (https://wiki.unrealengine.com/Dedicated_Server_Guide_(Windows_%26_Linux))

After different configuration on unrealfrontend, it builds me something in mProejct/saved/StagedBuilds/WindowsServer

There is an engine directory, and a myProject directory, and a myProjectServer.exe.

Running this exe, I got this error : Failed to open descriptor file '../../../Engine/myProject.uproject'. This file is under myProject directory.

I 've found another myPrjectServer.exe into engine\binaries\win64, and run it too, with same error.

I didn't understand why it needs to ../../.., and how can I fix this behaviour. Is it a misconfiguration under visual studio when building the exe? Is it a misconfiguraton around unrealFrontend?

Thank you

Product Version: UE 4.12
more ▼

asked Dec 22 '16 at 12:15 PM in Packaging & Deployment

avatar image

399 22 11 39

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

1 answer: sort voted first

Hello thyshimrod,

After generating the .exe, did you follow the steps in the other page that was linked to which mentions moving the MyProjectServer.exe to the packaged game's directory, as it is originally placed in the binaries for the project itself? This may be able to fix the issues you're experiencing if you haven't.

In particular, it mentions:

"Now it's time to build your game project. Using the above UBT target, the executable will end up in /Binaries//Server. Move the executable over to ///binaries/."

more ▼

answered Dec 22 '16 at 04:40 PM

avatar image thyshimrod Dec 23 '16 at 01:30 PM

Indeed, I forgot this step :( Thank you.

I have another issue, it said it can't find /Game/myFirstMap defined in command line. I d'ont know where I can define which map I start with for the server... Maybe here? alt text

capture.png (35.4 kB)
avatar image Matthew J Dec 23 '16 at 02:05 PM

That is correct. You'll need to package once more after you change that setting so that it updates the packaged files with that new configuration setting.

avatar image thyshimrod Dec 23 '16 at 02:17 PM

I didn't see this step in wiki, I think it is quite important...

avatar image Matthew J Dec 23 '16 at 03:01 PM

The original wiki post that you linked to is created by a user and is not updated by Epic. The other one is simply for how to compile a Standalone Dedicated Server and contains all of the information needed for that.

avatar image thyshimrod Dec 28 '16 at 10:09 AM

I 've written an article to complete the actual wiki


(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