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"

Failed to open descriptor file error

I have a blueprint only project that when I package as a "shipping" build and try to run the .exe located in the WindowsNoEditor it opens with a dialogue box saying:

"Failed to open descriptor file. '../../../TowerDefence-Win32-Shipping/TowerDefence-Win32-Shipping.uproject'

It happens for 32 or 64bit.

A development build runs fine, I've not had any issue with 32 or 64bit when packaging a development build. I've also tried it on multiple computers both with and without Unreal Engine, I've tried packing for distribution and that didn't work either.

Any help is appreciated.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 23 '15 at 08:38 PM in Packaging & Deployment

avatar image

Haigen
96 8 14 17

avatar image waterslade Jul 24 '15 at 02:50 PM

Hi Haigen

I see exactly the same behaviour - if I run the build on a network share. If I copy the entire built directory structure to a local location on my machine (such as my desktop) it runs normally. I'd be interested if you are seeing this same behaviour - which I would like to know the reason for.

avatar image THE DREAMER Oct 28 '16 at 03:30 PM

hey did any one find a solution to the problem because im experciencing the same issue works on my own desktop for development but wont work for shipping on anyones computer

avatar image MrCoder Oct 28 '16 at 05:32 PM

Yes, Yes they did.

Add a C++ class to your project

See btengelh response below back in Jan for more info.

avatar image tero83 Jun 30 '17 at 11:16 AM

Where can find that answer? I am trying to add my game to steam, but need game-win64-Shipping.exe which aren't working. If remove win64-shipping then it works

avatar image Samantha Sutton ♦♦ STAFF Jul 24 '15 at 04:53 PM

Hey Haigen,

I was unable to verify this happening on the Strategy Game project available from the Epic Games Launcher or a full blueprint project. Could you please attach your logs you should find them in a similar location as D:\MyProject6\Saved\Logs

Thank you!

avatar image Haigen Jul 24 '15 at 05:07 PM

Here is my log:

https://dl.dropboxusercontent.com/u/95557696/TowerDefence.log

if there is anything else that can help let me know.

avatar image Samantha Sutton ♦♦ STAFF Jul 24 '15 at 06:54 PM

Did you obtain UE4 from Github? Or are you running UE4 from the Epic Games Launcher? Also, how do you typically package your project? Please provide all steps necessary.

If you're building from source, here is some documentation you can review.

Looking forward to hearing back from you, thanks!

avatar image Haigen Jul 24 '15 at 06:59 PM

I use the launcher.

I package my project with the following settings: alt text

packaging_01.png (114.1 kB)
avatar image tero83 Jun 30 '17 at 10:19 AM

Mine project works with removing that win64-shipping, but when uploading to steam it doesn't work comes error couldn't start game-win64-shipping.exe create process 2 returned. How can i get it to work in steam

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

12 answers: sort voted first

Can you try going into the WindowsNoEditor/Engine/Binaries/Win32 and run UE4Game-Win32-Shipping with TowerDefence as your command line? (or maybe ../../../TowerDefence/TowerDefence.uproject)

Make sure that works. I think there may be a problem with the bootstrap executable (the one in the root of the WindowsNoEditor dir just points to the one in Engine/Binaries/Win32)

Josh

more ▼

answered Jul 24 '15 at 07:49 PM

avatar image

joshbadams STAFF
1.3k 19 7 46

avatar image Haigen Jul 28 '15 at 10:47 AM

This worked! Thanks, I created a shortcut and added ../../../TowerDefence/TowerDefence.uproject onto the end after the .exe in Target.

Wonder why this occurs?

avatar image Vehrym Aug 17 '15 at 08:06 PM

Can you please be more clear about what exactly you did. What shortcut did you add as command to what Executable? Don't really understand seeing how you are using the names of your project and locations.

avatar image Samantha Sutton ♦♦ STAFF Aug 18 '15 at 09:03 PM

Per Josh's response, go to: WindowsNoEditor/Engine/Binaries/Win32 and run UE4Game-Win32-Shipping with ../../../TowerDefence/TowerDefence.uproject after the .exe in the Target line.

avatar image schubboy Aug 27 '15 at 02:59 PM

Somebody else suggested going into the /bin directory and change the exe name to not include '-win32-shipping' - EG: make sure its the actual name of your project. That worked perfectly for me.

avatar image spyro Aug 28 '15 at 11:34 AM

WTF, renaming worked also for me... But now the EXE in the root dir crashes:

alt text

Does the EXE in the binaries-subfolder install the "UE4PrereqSetup_x64" as well if needed?

avatar image Hichigo Sep 01 '15 at 01:32 PM

It's works! Thanks a lot!

avatar image Samantha Sutton ♦♦ STAFF Aug 31 '15 at 10:39 PM

Hey Vehrym,

Did renaming the file help with your issue as Schubboy and Spyro have suggested?

Thanks for assisting! :)

avatar image Eduflex Oct 11 '15 at 03:05 AM

Can you show an example or printscreen, I don't understand anything of your solutions, I don't have the folder "Win 32 or 64" in \Engine\Binaries..., I have the folder "ThirdParty" Only. Thanks for your time.

avatar image Timmeh_ZA Oct 15 '15 at 01:43 AM

Second that. Getting this error on windows 7 when trying to run packaged game

avatar image Samantha Sutton ♦♦ STAFF Oct 15 '15 at 03:01 PM

Please attempt the work around for this issue as stated above. If that does not work, please provide a screenshot of the error that you're receiving and exactly how you packaged your project.

Thank you.

avatar image DwunkyPengy Oct 19 '15 at 08:57 AM

I'm getting the same error with a shipping build (with full rebuild and pak Enabled), I've tried Spyro's fix but get the same error message. I'm using my own game and not the tower defense demo so i have no idea how to appropriate apply Josh's idea :/

avatar image jmullens88 Oct 23 '15 at 01:52 AM

I'm having a similar problem but I don't have any folder inside of Engine\Binaries\ other than a ThirdParty folder. Any help would be appreciated have seen this on multiple projects currently using version 4.9.2.

avatar image Samantha Sutton ♦♦ STAFF Oct 27 '15 at 08:01 PM

Hey Jmullens88,

Could you please describe exactly what is happening with your project, whether or not you're using a blueprint or c++ project and if you're on a source or binary version of the engine.

Looking forward to hearing back from you, thanks!

avatar image lordscottish Nov 18 '15 at 10:29 AM

I'm having the same problem:

  • I get the Failed to open descriptor file error

  • I run 4.9.2

  • It's a pure blueprint project

  • The directory WindowsNoEditor/Engine/Binaries only contains the folder ThirdParty

Any ideas what the problem might be?

avatar image lordscottish Nov 18 '15 at 10:44 AM

It turns out I simply had to rename the uproject file and the folder to the names in the error message to get it to work.

avatar image LDodds Jan 02 '16 at 09:56 PM

Does anyone else have a solution or idea for this? Using 4.8 with pure blueprint and it still comes up with the error when i try to open exe after doing a shipping build

avatar image ivanrosadev Jan 03 '16 at 04:44 PM

Same problem here.

avatar image ivanrosadev Jan 03 '16 at 04:49 PM

This works for me:

Go to WindowsNoEditor\Engine\Binaries\Win64

Then "UE4Game-Win32-Shipping" or "UE4Game-Win64-Shipping" in my case, rename it to your project name, which should be the same as in /WindowsNoEditor/YourProjectName.uproject

avatar image spyro Jan 27 '16 at 10:54 AM

This still happens with 4.10.2. I have to manually rename the executable each time (remove the "-Win64-Shipping" by hand).

avatar image Tom H Apr 19 '16 at 02:48 PM

I've written a short bat file that should save you time. Just needs a small edit for project name and change the extension to .bat. Hope this helps! Attached to my answer here.

avatar image MrCoder Oct 28 '16 at 05:36 PM

Please up vote the answer that does not involve renaming files (btengelh posted it below).

"Add a C++ class to your project"

This completely fixes the issue and does not require any rename of files.

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

Since I have hit this issue myself with 4.10.1 just today after uninstalling an old version of VS2013 and adding common tools + C++ to VS2015 I wanted to share my findings.

I an using the "Project Launcher" to make my deployment as detailed here... https://docs.unrealengine.com/latest/INT/Engine/Deployment/Releasing/index.html

I have not modified any of the project setting build options (It's a little confusing how you have both project setting build/package options and the "Project Launcher"?)

Yesterday (Pre VS2015) I could build the "Shipping" deployment with no issues. Today (VS2015) its a no go.

I have found that the following is true. (Assume my project is called "Project" for the following)

The file "Project\Saved\StagedBuilds\WindowsNoEditor\Project.exe" creates an instance of "Project\Saved\StagedBuilds\WindowsNoEditor\Project\Binaries\Win64\Project-Win64-Shipping.exe" and this instance throws the error "Failed to open descriptor file. '../../../Project-Win32-Shipping/Project-Win32-Shipping.uproject"

After spending some time looking the UE4 source code I came to the conclusion that the "Project-Win64-Shipping.exe" that is being instanced is using its own file name to determine the project name and in turn the path to the ".uproject" file. Unfortunately since the file name of the ".exe" is not "Project.exe" it cannot find it.

I then tested this out by changing the file name from "Project-Win64-Shipping.exe" to "Project.exe" and ran it directly, bypassing the other tiny "Project.exe" file a couple of directories above. Low and behold the renamed file ran fine and did not throw the infamous "Failed to open descriptor file" error.

The only remaining issue after doing this was that the file "Project\Saved\StagedBuilds\WindowsNoEditor\Project.exe" now throws a new error about not being able to find the "Project-Win64-Shipping.exe" file since I have renamed it.

The issue does not happen with a development build since the output file is named correctly "Project\Saved\StagedBuilds\WindowsNoEditor\Project\Binaries\Win64\Project.exe" allowing the ".uproject" file to be found and the smaller "Project.exe" file to instance it.

The issue is also resolved by renaming the project folder and ".uproject" file from "Project" to "Project-Win64-Shipping" but this is very ugly and I refuse to accept this as the true solution.

I think the "UnrealBuild" tool is at fault, but I have not debugged it. https://github.com/EpicGames/UnrealEngine/tree/ab9713f2c0346236b0fdd271d3304cf0991d23de/Engine/Source/Programs/UnrealBuildTool

Just my findings, not an answer but hopefully helps get to one.

more ▼

answered Jan 05 '16 at 11:36 AM

avatar image

MrCoder
81 4 5 11

avatar image Ben_Cykyria Jan 06 '16 at 12:12 AM

I have the same error today, with a simple Project. If you have any clues, I'll try to reproduce them with my project. (I'm on 4.10.1)

avatar image Ben_Cykyria Jan 06 '16 at 11:41 AM

Do you have any code added to your project? If not, please try this: add a new class to the project (File->New C++ Class). Just click next next next... till it's done. If it's failing to compile, close project, delete intermediate directory, generate VS studio files. Then open project again and do a new shipping build. this solved the problem for me!

avatar image MrCoder Jan 06 '16 at 05:23 PM

btengelh, nicely done buddy!!

I added a C++ class (MyClass) after a couple of screens it threw an error when compiling so I then closed the project. Did a backup of the project folder. Deleted the "Intermediate" folder. Then upon opening the project I got an error about DLL's missing and was asked to rebuild them, I did this then refreshed the VS project files. Now the project builds the "Project-Win64-Shipping.exe" but no longer throws the error!!!

Fantastic work buddy!

Moral of the story, add a C++ class to your projects!

Edit : Forgot to say I regenerated the VS project files.

avatar image robin_p Jun 08 '17 at 01:14 PM

Hey guys !

I'm encountering the same issue so I followed your steps but sorry if I'm noob with it but how do I "refresh the VS project files" of my project ?

All step acted exactly as you said before but I am a bit confused about this last one ^^'.

Thx for your help guys you are awesome !

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

This works for me:

Go to WindowsNoEditor\Engine\Binaries\Win64

Then "UE4Game-Win32-Shipping" or "UE4Game-Win64-Shipping" in my case, rename it to your project name, which should be the same as in /WindowsNoEditor/YourProjectName.uproject

Then launch your game from WindowsNoEditor\Engine\Binaries\Win64\YourProjectName.exe

more ▼

answered Jan 03 '16 at 04:49 PM

avatar image

ivanrosadev
116 5 13 18

avatar image LDodds Jan 03 '16 at 06:12 PM

Sweet yeah that works for me on my computer, however: Do you know if it works on another computers? (As a shipping build) and what files are required for it to run, if I wanted to zip it up.

avatar image ivanrosadev Jan 03 '16 at 07:34 PM

Yes, it works, I tested this on two more computers, as long as you have the UE4 prerequisites installed.

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

I followed @IvanRodriguez's post and instead of seeing my project i seen a file named Crash Report Client

more ▼

answered Jan 26 '16 at 03:04 PM

avatar image

Darkangel013
1

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

+1 i have the same problem on win64 directory i have just a file "crashReportClient" Have you got an idea ?

Thanks all

more ▼

answered Jan 31 '16 at 11:37 AM

avatar image

Jago138
11 3 7 8

avatar image Samantha Sutton ♦♦ STAFF Feb 01 '16 at 05:08 PM

Jago138,

Please post a new AnswerHub question with full details for additional assistance, thank you!

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

Is there still no real solution for this problem? I had this problem with two different projects and couldn't find a solution at all. Sometime renaming works sometimes it does not. This does not make any sense to me at all.

more ▼

answered Jun 02 '16 at 04:14 PM

avatar image

MatzeOGH
591 21 11 32

avatar image Samantha Sutton ♦♦ STAFF Jun 06 '16 at 09:33 PM

If you're experiencing this issue, feel free to submit a new AnswerHub thread in and we'll look at your logs separately. This was one of those bugs that happened and a few things seemed to be the cause.

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

Same problem here... I don't get it, that it's still not fixed.

more ▼

answered Mar 02 '16 at 09:34 PM

avatar image

Jack_Doe
36 3 4

avatar image Samantha Sutton ♦♦ STAFF Mar 03 '16 at 03:29 PM

Jack,

Please post a new AnswerHub question with full details and any logs necessary so we can assist you further, thanks!

avatar image sujayawork Apr 25 '16 at 08:48 AM

Same problem here, and i had solve this problem

step 1. uninstall all your download plugin (in my case substance plugin is problem ) 2. open you project and build again

its worked

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

Same problem here, and i had solve this problem

step 1. uninstall all your download plugin (in my case substance plugin is problem ) 2. open you project and build again

its worked

more ▼

answered Apr 25 '16 at 08:46 AM

avatar image

sujayawork
1 1

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

I have the same promblem on android I solved it: 1,install apk use the .bat 2.uninstall it use the .bat 3.play on android solved

more ▼

answered Nov 07 '16 at 08:40 AM

avatar image

Richard96
1 1

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

the game keep tell me that failed to open descriptor file '../../../TekkenGame/TekkenGmae.uproject' plz help me

more ▼

answered Jul 03 '17 at 01:57 PM

avatar image

bilal9
1 1

avatar image bilal9 Jul 02 '17 at 05:54 PM

plz i have problem that my game keep tel me that (failed to opendescriptor file '../../../TekkenGame/TekkenGame.uproject') plz what should i do

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

I was also facing the same issue. This article helped me resolve the issue.

How to fix Failed to Open Descriptor File Error

Hope it helps.

more ▼

answered Jul 12 '18 at 07:40 AM

avatar image

Sameer8899
1

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

my project was already a c++ project. rebuilding project in visual studio fixed it for me.

more ▼

answered Nov 01 '18 at 03:39 PM

avatar image

Imagine-Games
224 5 11 15

(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