HELP ME WITH PACKAGING


i got this error when i tried to package the game. i cant find help on internet

Hey @dacukra1!

Make sure your Fab plugin is up to date, this was a problem a few months ago but since fixed it.

Also I saw that users had luck UNchecking “For Distribution” but having “Shipping” checked.

Give that a shot! :slight_smile:

the only plugins i got are from ue or they are turned off. also everything is set to shipping.

oh and also @Mind-Brain if it can help u help me heres the errors

UATHelper: Pakowanie (Windows): C:\Users\ComPP\Desktop\UE_5.4\Engine\Source\Runtime\Engine\Classes\GameFramework\Character.h(1): Error: include found after .generated.h file - the .generated.h file should always be the last include in a header
UATHelper: Pakowanie (Windows): C:\Users\ComPP\Desktop\UE_5.4\Engine\Source\Runtime\Engine\Classes\GameFramework\DefaultPawn.h(1): Error: include found after .generated.h file - the .generated.h file should always be the last include in a header
UATHelper: Pakowanie (Windows): C:\Users\ComPP\Desktop\UE_5.4\Engine\Source\Runtime\Engine\Classes\GameFramework\DefaultPawn.h(1): Error: include found after .generated.h file - the .generated.h file should always be the last include in a header
UATHelper: Pakowanie (Windows): C:\Users\ComPP\Desktop\UE_5.4\Engine\Source\Runtime\Engine\Classes\GameFramework\PlayerStart.h(1): Error: include found after .generated.h file - the .generated.h file should always be the last include in a header
PackagingResults: Error: include found after .generated.h file - the .generated.h file should always be the last include in a header
PackagingResults: Error: include found after .generated.h file - the .generated.h file should always be the last include in a header
PackagingResults: Error: include found after .generated.h file - the .generated.h file should always be the last include in a header
PackagingResults: Error: include found after .generated.h file - the .generated.h file should always be the last include in a header
UATHelper: Pakowanie (Windows): C:\Users\ComPP\Desktop\UE_5.4\Engine\Source\Runtime\Engine\Classes\GameFramework\PlayerStart.h(1): Error: include found after .generated.h file - the .generated.h file should always be the last include in a header
UATHelper: Pakowanie (Windows): Total of 0 written
UATHelper: Pakowanie (Windows): Total execution time: 1.83 seconds
PackagingResults: Error: include found after .generated.h file - the .generated.h file should always be the last include in a header

Ohhh that’s interesting… If you’re only using Blueprints.

Is this a C++ Project? Because what it’s saying is that in these files, you’re adding a # include after the .generated.h file (the header file) but the .generated.h should ALWAYS be the last # include… which, in C++, is just changing the order of some of your lines. :slight_smile:

Now, if it’s BLUEPRINTS… Then I’m very curious.

ye im also curious cuz i have only blueprints

It looks like quixel bridge is causing some problems. If you are not using that plugin then try disabling it and packing.

You could also try validating your engine files through the epic games launcher. Maybe something got corrupted during an update?

i tried and also ye bridge plugin is off

Does your project folder have any non English letters? This can sometimes cause pack problems.

Did you modify the source code in any way or is your engine the binary version?

Character.h in source build of 5.4.4 has .generated as the last include

Strange that the mentioned files all have a (1) in them, almost like they were copied and exist alongside the original files. How do the files look in the directory?

1 Like

i dont use code. i use blueprints only. and no, no not english letters

Any type of UTF8 specific letters in the project path can break a project. Polish letters are also a bad idea.

You can also try deleting the intermediate folder and regenerating the project.

i already did it. and it crushem my project for whole day and i had to copy everything to new project