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"

Possible solution for Failed Packing on Source

I had noticed that a lot of users struggling bec. of Failed packing issue.

many posts with the same answers ...but it seems that's a lot of users couldn't understand how to do the solution or couldn't understand it

here I will gonna show u step by step how to fix it completely ..this works for me very well

I will consider that we start building the game as it's first time:

(1)

  • Open UE4.sln generated by "-GenerateProjectFiles.bat-" using Visual studio 2013

(2)

  • choose "Development Editor" solution configuration at first and right click on UE4 from solution explorer and press Rebuild. alt text

(3)

  • it will takes time about 10 to 15 min according to your machine speed...i'm i7 3930k and it took about 11 min...so don't panic if it takes more than that xD ...After it finished ...Run the UE4 editior and open your desired project need to be packed. and keep the editor opened

(4)

  • go back to Visual studio and change the solution configuration to "Development" and then right click on UE4 and press"BUILD" beware of this... click build not rebuild alt text

(5)

  • it will take short time this time ...after it finished...go back to UE4 editor and start package process for your desired game.

keep in mind you should do this steps only once...you don't need to do the same steps again every time you want to pack a game

it should package perfectly right now. please confirm if this solution works for u too

best of luck :))

note: if UE4 crashed after u did that...be sure to use the source files you have just unzipped not you already unzipped and used them before

which mean a clean version of source code you should use not over writing the old one you've unzipped :))

Product Version: Not Selected
Tags:
capture2.png (76.3 kB)
capture3.png (73.6 kB)
more ▼

asked Apr 15 '14 at 06:25 PM in Packaging & Deployment

avatar image

Omar Vector
435 16 16 29

avatar image starfighterdude Jun 17 '14 at 05:46 PM

Hi Omar, thank you for the tutorial.

However, I'm not a coder. I just need a quick tip on the first step and I can follow from there. I can't find the file named UE4.sln and I don't know what "-GenerateProjectFiles.bat-" means. Can you or someone else give me a hand here?

Thank you!

avatar image Dannyk90 Jul 23 '15 at 09:46 AM

I keep getting the same 2 errors in VS no matter what I do:

 Error    1    error : All source files in module "Core" must include the same precompiled header first.  Currently "E:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Core\Private\CorePrivatePCH.h" is included by most of the source files.  The following source files are not including "E:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Core\Private\CorePrivatePCH.h" as their first include:    E:\Program Files\Epic Games\4.8\Engine\Intermediate\ProjectFiles\EXEC    UE4
 
 
 Error    2    error MSB3075: The command "..\..\Build\BatchFiles\Rebuild.bat UE4Editor Win64 Development" exited with code 5. Please verify that you have sufficient rights to run this command.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets    43    5    UE4
 


avatar image Web Master Aug 12 '15 at 09:51 AM

How do you find the UE4.sln and the GenerateProjectFiles.bat? If i have to open Visual Studio 2013 for it, then can you help me out on finding it?

avatar image FlawsomeInteractive Aug 22 '17 at 04:29 PM

Thanks Omar! FYI this solved my problem working with a fresh install of Visual Studio 2017.

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

1 answer: sort voted first

Hello Omar,

Thank you for writing this up! If you have not seen, we also have a wiki you can add your information to and then point to in future!

Thanks again!

-Max B.

more ▼

answered Apr 16 '14 at 07:26 PM

avatar image Omar Vector Apr 16 '14 at 07:58 PM

Done, i've created a page on wiki for this solution

I really don't know about wiki :))

thanks alot

(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