Error Unknown Cook Failure while packaging for windows

Hello,

I have started a project about 1 year ago on version 4.11 and now i decided to continue it. After I opened it with 4.14 i realized the packaging problem. I read a lot of posts about this and saw many people have lots of problems with packaging.
In the log i have this eroor: DoesPackageExist: DoesPackageExist FAILED: ‘None’ is not a standard unreal filename or a long path name. Reason: Path should start with a ‘/’

I have already tried to change gameMode and Global Default Server Gamemode to something else than None but it doesn t seem to work. I have already tried to delete the Saved, Config and Intermediate folders but also no effect[link text][1]. Attached is the log. Can anyone please help me?

123590-unreal+log.txt (708 KB)

Matei,

UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.01.26-07.14.23:829][  0]LogInit:Display: LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: 'None' is not a standard unreal filename or a long path name. Reason: Path should start with a '/'

This is the error that you’re running in to. Please make sure that you’re using the proper standard filename. Make sure that the file path isn’t too long. If it’s over 255 characters, you’ll need to correct that. I’d also suggest deleting your Intermediate and Saved folders from your project folder and seeing if that clears up some of your warnings that are seen in the logs too.

Thanks!

Thank you for the answer but is there any way to know about which file are we talking about? Or should I check every file from the Content folder? It is very strange because i used to package the project without problems last year on the 4.11 version and since then i made very few changes. Should I check only the new changes?

The first error unfortunately doesn’t tell me which file it is. Can you show me a screenshot of your filename and possibly the project name?

UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.01.26-07.14.23:829][  0]LogInit:Display: LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: 'None' is not a standard unreal filename or a long path name. Reason: Path should start with a '/'
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.01.26-07.14.23:839][  0]LogInit:Display: LogCook:Warning: Found unparsable ini setting Windows.EditorPerProjectUserSettings:DetailCategories:FirstPersonCharacterIronbelly_AssaultPack_C.Character Movement: Walking:0 for platform WindowsNoEditor, invalidating cook.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.01.26-07.14.23:850][  0]LogInit:Display: CookResults:Warning: Warning Unable to find package for cooking None
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.01.26-07.14.23:860][  0]LogInit:Display: LogCook:Warning: Unable to find package for cooking None
PackagingResults:Warning: Warning Warning Unable to find package for cooking None

All of your CallFunctions are deprecated for the FirstPersonCharacterIronbelly. Please look in your logs for a similar error and correct those issues.

UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.01.26-07.14.23:871][  0]LogInit:Display: LogBlueprint:Warning: [Compiler FirstPersonCharacterIronbelly_AssaultPack] Warning  K2Node_CallFunction_20835  is deprecated; Use Clear and Invalidate Timer by Handle. Note: you no longer need to reset your handle yourself after switching to the new function.

I have an older version of the project created with version 4.11.2 and I did this experiment:

I tried to package that project with the old version 4.11.2 and it worked perfectly. After that I created a copy of that project and I opened it with version 4.14.3. After that I tried to package it with this version of the engine and it failed with the same error. So my logic tells me that there is a bug in the new version of the engine because with the same project one version package the game and the other one does not package the game.

I know about the deprecated function, but as far as I know this should not interfere with the project packaging. The name of the project is: Proiect_12NOU

Here are the requested prt screens…

here is the requested print screen

  • Can you verify that when you click on the address bar that it begins with /?
  • Could you take the _ out of the project name?
  • Could you also try moving your project to your desktop and seeing whether or not it makes a difference with packaging?

Hi and thank you again for your answer. So i renamed the project (not only the file but also the folder) by erasing the character _. I also moved the project to Desktop and deleted the saved and Intermediate Folders but unfortunately it didn’t help me. I am not sure what you mean about the address bar…you mean the address bar from Windows Explorer? if yes, it does not start with /. Here is a picture of the address bar

Thank you for going through those steps and seeing if they’d help resolve your issue. Have you tried changing your default server gamemode? If it’s set to ‘none’ it might throw this error.

Yes I did because I read about that problem in another post so, it was one of the first things I tried…It 's really frustrating, the project works perfectly, i have no errors when i play it inside the engine…

Would you mind deleting all unnecessary files from your project, including the Intermediate and Saved folders and uploading your project to or Drive for me to review? If you’re not comfortable with that, would you be able to migrate your project over to a newly created project to see if that way of ‘refreshing’ the files helps resolve your issue?

If you’re able to provide me a copy of your project, please provide the link to me on the forums through a private message.

Thank you. :slight_smile:

Hi, i sent you the link of the project on a private message. Thank you!

I deleted your Config, Intermediate and Saved folder, refilled out the information deleted from the Config folder deletion and the package was successful. Please try to do this and see what happens. :slight_smile:

Yes it worked, the strange thing is that I did this before and it didn’t work. I think I know where the mistake was. When I tried to do it a few weeks ago, I exported the configurations from the engine settings and then re-imported the configurations. This time after I deleted the config folder I made all the settings from the scratch…so it worked. Do you have any example of how to use Game Instance to store the content of a variable after I leave the level and reuse it after I go to another level? Should I open another “case” for this? Thank you for your help!

After packaging the project, the footstep sounds of my character are mute. This is a problem I had before so it doesn t have to do with the fact that I was trying to open the project in a newer version of the engine…All the other sounds have no problems except the footsteps…

You’re right, the sound isn’t working for when you’re walking. Have you tried deleting and creating the blueprint over again for the footsteps only? If not, please try that.

It would be helpful if you could tell me exactly where you put the footstep sound blueprint so I can investigate.

Thanks!

In the blueprint FirstPersonCharacter there are 2 functions: Walk and Floor, they are responsible for generating sounds depending of the surface the character walks on. Ill try rewriting the blueprints…If I have any success I will let you know.

Yes, please update this thread once you have additional information!

i wrote again the blueprints and I have the same problem. Any other ideas?