I really don’t get why I can’t package my game, I’m using the DebugGame setting and I get this output log here link text
it says Unknown Error, I don’t know what to do with that. This only happens in my current project, it doesn’t happen in blank projects
If you actually read the log (or search through it with something for the word “error”) then there’s an actual error.
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\Lisa\Jason DropBox\Dropbox\Game Dev\MyProject2\Binaries\Win64\MyProject2-Win64-DebugGame.pdb
Is the error that’s seen within your logs. I also noticed this:
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: C:\Program Files\Epic Games\4.9\Engine\Intermediate\Build\Win64\UE4\Development\MyProject2\PCH.MyProject2.h.cpp(1) : fatal error C1083: Cannot open include file: 'C:\Users\Lisa\Desktop\LabNetv0.9\MyProject2\Source\MyProject2\MyProject2.h': No such file or directoryC:\Program Files\Epic Games\4.9\Engine\Intermediate\Build\Win64\UE4\Development\UELinkerFixups\PCH.UELinkerFixupsName.h.cpp(1) : fatal error C1083: Cannot open include file: 'C:\Users\Lisa\Desktop\LabNetv0.9\MyProject2\Intermediate\Build\Win64\UE4\Development\UELinkerFixupsName.h': No such file or directory
I would suggest to delete your DerivedDataCache, Intermediate and Saved folders from your project. Once you’ve done that, try to package again and look to see if you’re getting the same errors. Also, here is a forum post which I believe will explain the issue for you.
Let me know how it goes, thanks!
It worked! Thank you very much for the answer this has been plaguing me for a long time!