how to solve package errors?

hi o/, been using unreal for some time, i have a hope to finish a game someday put it on steam and become billionaire, ok let me focus on my problem, i’ve tried to package my project for “testing porpuses”, it’s not done yet but i wanted to send it to my friends to receive some feedback and see how is the performance in different hardwares, first i tried to package on linux, got error, i thought it was a “linux problem”, and tried on windows but got the same error, the worst part about it is a really giant log with a “unknown error” in the end, i know i should expect some errors, but a “unknown error” is something really sad because i have no idea where to start solving the problem, and the game is running ok in the editor, makes me wonder: what if i’m really into it, choose unreal, put a lot of money, hire a lot of people, after some months have a complete game but i got a unknown error? i know it’s impossible to make a perfect engine, and ■■■■ happens, but it’s something really sad to think about.

this is the final error message:

PackagingResults:Error: Error Unknown Cook Failure

after scrolling up for some time i also found this: maybe this is the real error, but this material looks fine in the editor, i’m almost sure i got this material from the “reflections” project, and it’s by far my favorite material for floors, i’m not ready to let him go, i really love this floor, once i took a screenshot of it and it set it as my wallpaper (serious).

Error loading C:/Users/veccher/Documents/Unreal Projects/TwinStickShooter/Content/Materials/M_Floor_Water_Mesh_Paint.uasset

so, i’m not an expert but i would like to receive some instructions about what to do with packaging errors. I’m sending the giant log:

102873-twinstickshooter-backup-2016.08.14-23.59.44.log (2.8 MB)

Hey veccher,

I see quite a few errors in your logs, such as:

LogBlueprint:Error: Compiler Error This blueprint (self) is not compatible with ’ Target ', therefore that pin must have a connection. from Source: /Game/Characters/HeroTPP/HeroTPP_AnimBlueprint.HeroTPP_AnimBlue

LogBlueprint:Error: Compiler Error Could not find a function named “GetAimOffsets” in ‘HeroTPP_AnimBlueprint’.

LogBlueprint:Error: Compiler Error This blueprint (self) is not compatible with ’ Target ', therefore that pin must have a connection. from Source: /Game/Blueprints/Pawns/BotShootEnemy.BotShootEnemy

What you’ll need to go is go through your log file, and do a CTRL+F search for Error. After this, work your way through the log and solve each individual error at a time. After resolving the errors, go ahead and attempt to package again. If the process still fails, please provide the updated output log and I’ll take a look at the new errors you’re seeing.

Have a great day

1 Like

Ty for helping, seems like all these problems came from some BPs i’ve imported from “shooter game”, actually i’m not using them so i will Just remove it, i will try repackaging as soon as i can and then i will come back Here and accept your answer or update my problem

so 98%(at least) of the errors are from these assets from “Shooter game”, i’ve tried to delete them, but somehow they seems to be still out there somewhere, look at this error for example:

LoadErrors:Error: Error /Game/Blueprints/Weapons/WeapGun_Impacts : Can’t find file for asset. /Script/ShooterGame

i’ve deleted the folder “Content/Blueprints”, and i can’t see any Script/ShooterGame, how can i properly delete these assets?

new log:log

I’d recommend a couple of things:

  1. Ensure that there are no extraneous references to any of the assets that you are deleting anywhere in the project.
  2. Try right-clicking on the Content folder in the Content Browser and selecting the Fix Up Redirectors in this Folder option.
  3. Try migrating your content that you need to a clean project and attempt to package that out.

Let me know how that works for you.

you helped a lot, i’m closer, less errors now, finally the errors from “Shooter game” disappeared (not sure maybe the “fix up redirectors” fixed things up) there were also a lot of errors from some materials (i should have expected that) i deleted every asset that was not working and i was not using, i even deleted my favorite material (once my wallpaper) but he is still one of the errors *i tried reimporting it from the “Reflections” project but it didn’t solved the problem so i deleted it", the other error is something related to lights (and this one i have no idea what may cause it)

hope you can help me again.
adding the last log:
log

Here are the main errors I’m seeing now:

[2016.08.17-17.56.58:484][ 0]LogInit:Display: CookResults:Error: Error Error loading C:/Users/veccher/Documents/Unreal Projects/TwinStickShooter/Content/Materials/M_Floor_Water_Mesh_Paint.uasset!
[2016.08.17-17.56.58:485][ 0]LogInit:Display: LogCook:Error: Error loading C:/Users/veccher/Documents/Unreal Projects/TwinStickShooter/Content/Materials/M_Floor_Water_Mesh_Paint.uasset!

The issue here is that you most likely have some references remaining somewhere in your project to that deleted material. Option 3 that I suggested above involves migrating your remaining content into a clean project. This is probably your best bet since you’ve migrated in a ton of assets that you later removed. Give that a shot and then provide the output log from the clean project if packaging fails.

Thanks!

so… i created a clean project, tried to migrate the most important part of the project (took a long time since apparently we can’t migrate C++ classes and we got error’s when migrating BP’s that inherits from C++ classes), after remaking the most important classes i tried to package, i’m still geting package errors, this error:

Could not find file ‘C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\Win64\CrashReportClient.pdb’.

“CrashReportClient.pdb” seems to be a “engine file” and not exactly part of my project. what should i do?

link text

Hey veccher,

Check the last post on this thread: Weird issue with Packaging & the file CrashReportClient.pdb - Blueprint - Unreal Engine Forums

If you follow those steps this should resolve that issue for you.

Let me know if that helps, and if you resolve that error and are still experiencing more please provide the new output log.