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"

Having a packaging problem

I have made a Blueprint game and decided to packaged it and test it out, I get this error;

MainFrameActions: Packaging (Windows (64-bit)): Project.Build: BUILD COMMAND COMPLETED MainFrameActions: Packaging (Windows (64-bit)): InternalUtils.SafeFileExists: SafeFileExists D:\Myopia(Game)\UnrealEngine4\Myopia\Myopia.uproject=True MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: COOK COMMAND STARTED MainFrameActions: Packaging (Windows (64-bit)): InternalUtils.SafeFileExists: SafeFileExists A:\UnrealEngine4\Epic Games\4.7\Engine\Binaries\Win64\UE4Editor-Cmd.exe=True MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: Cleaning cooked data. MainFrameActions: Packaging (Windows (64-bit)): InternalUtils.SafeDeleteEmptyDirectory: WARNING: Failed to delete directory D:\Myopia(Game)\UnrealEngine4\Myopia\Saved\Cooked\WindowsNoEditor\Engine in 10 attempts. MainFrameActions: Packaging (Windows (64-bit)): InternalUtils.SafeDeleteEmptyDirectory: WARNING: Exception in mscorlib: The directory is not empty. MainFrameActions: Packaging (Windows (64-bit)): Stacktrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) MainFrameActions: Packaging (Windows (64-bit)): at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound) MainFrameActions: Packaging (Windows (64-bit)): at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.SafeDeleteEmptyDirectory(String Path, Boolean bQuiet) MainFrameActions: Packaging (Windows (64-bit)): BuildCommand.Execute: ERROR: BUILD FAILED MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Exception in AutomationTool: Failed to delete directory 'D:\Myopia(Game)\UnrealEngine4\Myopia\Saved\Cooked\WindowsNoEditor' MainFrameActions: Packaging (Windows (64-bit)): Stacktrace: at AutomationTool.CommandUtils.DeleteDirectory(Boolean bQuiet, String[] Directories) MainFrameActions: Packaging (Windows (64-bit)): at Pro MainFrameActions: Packaging (Windows (64-bit)): ject.Cook(ProjectParams Params) MainFrameActions: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Windows (64-bit)): at BuildCommand.Execute() MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String[] CommandLine) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object Param) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.Main() MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Failed to delete directory 'D:\Myopia(Game)\UnrealEngine4\Myopia\Saved\Cooked\WindowsNoEditor' MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes. MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=1 MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes. MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files... MainFrameActions: Packaging (Windows (64-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully. MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED

I have seen this error numerous times on my travels to find a solution but it seems that nothing I try works.

Thanks for your time

Product Version: Not Selected
Tags:
more ▼

asked Mar 21 '15 at 03:40 PM in Packaging & Deployment

avatar image

TheMunky
126 13 18 25

avatar image TheMunky Mar 26 '15 at 08:53 PM

Any help on this?

avatar image wittlief ♦♦ STAFF Mar 26 '15 at 09:26 PM

Hi TheMunky,

Can you attach the logs to this thread? It's easier to parse than the block of text.

Also, are you able to package any project, or do they all fail? Let me know in either case.

Further, I'm seeing this in your logs: WARNING: Failed to delete directory D:\Myopia(Game)\UnrealEngine4\Myopia\Saved\Cooked\WindowsNoEditor\Engine in 10 attempts. MainFrameActions: Packaging (Windows (64-bit)): InternalUtils.SafeDeleteEmptyDirectory: WARNING: Exception in mscorlib: The directory is not empty.

In some cases, if you have the specified directory open in File Explorer, the delete method may not be able to delete it, and it will throw up this particular error and fail.

avatar image TheMunky Mar 27 '15 at 12:20 AM

Hey, I have re-tested this making sure to have every other window shut, I still receive the error, could you direct me to the location of the logs you require?

Thanks

avatar image spazchicken Mar 27 '15 at 12:26 AM

I'm also having packing problems lol but it's different. The log is in your project : My Documents/Unreal projects/Saved/Logs :)

avatar image TheMunky Mar 27 '15 at 01:22 AM

This must be it, thanks.

avatar image wittlief ♦♦ STAFF Mar 27 '15 at 04:14 PM

Hi TheMunky,

Are you using the editor from the binary/launcher, or from source/Github? If you're using the binary and packaging through the UnrealFrontend, you must package as Windows 32. Even though it is not allowed it still appears as an option on UFE, and will be removed in a later version of the editor. Here is an AnswerHub thread where another user was having that problem.

Currently, to be able to successfully package for Windows 64, you must be using the source/Github build of the editor.

Further, I'm seeing this error: LogArray:Warning: Attempted to get an item from array Inventory out of bounds repeatedly throughout your logs. I've attached to the first another AnswerHub thread with a user experiencing a similar error, so please have a look and see if it helps.

There's also this:

LogScript:Warning: Accessed None 'CallFunc_CastToWeaponAndSetReference_BaseWeaponPU' FirstPersonCharacter_C /Game/FirstPersonBP/Maps/UEDPIE_0_Level_01.Level_01:PersistentLevel.FirstPersonCharacter_C_0 Function /Game/FirstPersonBP/Blueprints/FirstPersonCharacter.FirstPersonCharacter_C:ExecuteUbergraph_FirstPersonCharacter:01D7 [2015.03.26-23.35.04:593][828]PIE:Error: Error Accessed None 'CallFunc_CastToWeaponAndSetReference_BaseWeaponPU' from node Pickup Item in blueprint FirstPersonCharacter [2015.03.26-23.35.04:593][828]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0

for which I have no suggestions. Not that either of those errors are definitely the cause of your packaging failures, but they're something to look into. We'll continue to check on this end. Please reply here with any new information.

avatar image TheMunky Mar 27 '15 at 09:49 PM

Hi Wittlief, the windows (32) doesn't seem to work for me, I still get the same error, It seems to be failing at the "cleaning cooked content" stage because it can't delete a directory? my knowledge of the packaging is pretty slim..

I'll look into the other links you have posted although, i'm pretty sure the other errors are because of bad blueprints, I'll see if I can clean it up a bit.

Okay after cleaning alot of the code up and also checking out your suggestions I have re-packaged it and still get errors, I have attached the latest log file to this.

the array out of bounds error wasn't fixed by the suggestions in the thread you had linked.

Thanks for helping with this. link text

latestlog.log (22.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

there seems to be a few people with packaging /cooking issues

I'm working on mine but

this is my post : https://answers.unrealengine.com/questions/199457/cooking-and-packaging-project-stuck.html

this is someone who suggested a fix: https://answers.unrealengine.com/questions/200344/packaging-failed-cant-package-473.html

more ▼

answered Mar 28 '15 at 12:56 AM

avatar image

spazchicken
447 35 20 53

avatar image TheMunky Mar 28 '15 at 09:36 AM

Thanks SpazChicken was able to fix it by migrating the entire project to a blank project due to following your link and clicking around. :)

avatar image spazchicken Mar 28 '15 at 09:41 AM

awesome to hear!

(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