Game Won't Package Upon Completion

I have gotten all the way through the FPS class, and at the end my project won’t package. It keeps saying “Packaging failed,” and giving a long error log. The last line is “PackagingResults: Error: Unknown Cook Failure.” The whole log is almost a million characters long, so I can’t fit it on here, but here are some examples of red and yellow errors. I think there is something wrong with my textures but I have no idea how to fix it. Any help appreciated.

UATHelper: Cooking (Windows): LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] F:\Unreal Projects\FPS_Gamedevtv\Content\Assets\Content\Assets\Gun\Materials\Shared_Mats_(Used_Across_All_Skins)\M_EjectionTube_4K.uasset: Failed to load ‘/Game/Assets/Gun/Textures/4K_Textures/T_Reload_Barrle_Base_Color’: Can’t find file.
UATHelper: Cooking (Windows): LogInit: Display: LogLinker: Warning: VerifyImport: Failed to load package for import object 'Package /Game/Assets/Gun/Textures/4K_Textures/T_Reload_Barrle_Base_Color’UATHelper: Cooking (Windows): LogInit: Display: LogLinker: Error: AddRedirectList(AddKnownMissing) failed to add redirector from /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_EjectionTube_4K to /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_EjectionTube_4K with invalid characters!

Do you see the files mentioned in the Content Browser or on disk in Windows?

I did, but now I’ve deleted them since I wasn’t using them. Still didn’t help, can’t find them in the browser folder or in the project anymore. I have also tried right clicking on the folders and clicking “Fix Up Redirects in Folder” but still no positive results. The red errors are:

LogFeaturePack: Error: Error in Feature pack F:/UE_5.0/FeaturePacks/TP_VirtualRealityBP.upack. Failed to parse manifest: Invalid Json Token. Line: 43 Ch: 4

UATHelper: Packaging (Windows): LogInit: Display: LogLinker: Error: AddRedirectList(AddKnownMissing) failed to add redirector from /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_Aim_Point to /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_Aim_Point with invalid characters!

UATHelper: Packaging (Windows): LogInit: Display: LogLinker: Error: AddRedirectList(AddKnownMissing) failed to add redirector from /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_Aim_Point_4K to /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_Aim_Point_4K with invalid characters!
UATHelper: Packaging (Windows): LogInit: Display: LogLinker: Error: AddRedirectList(AddKnownMissing) failed to add redirector from /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_Barrel to /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_Barrel with invalid characters!

UATHelper: Packaging (Windows): LogInit: Display: LogLinker: Error: AddRedirectList(AddKnownMissing) failed to add redirector from /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_EjectionTube_4K to /Game/Assets/Gun/Materials/Shared_Mats_(Used_Across_All_Skins)/M_EjectionTube_4K with invalid characters!

There are several more “failed to add redirector” errors as well. The main problems seem to be M_aim_point, M-Aim_Point_4k, M_Barrel, and M_EjectionTube. Tried deleting them since they aren’t being used in the project, but no luck.

Here is a picture of errors UE5 is giving me: https://imgur.com/B2qhDlt

Tried validating the files as well, no luck. Also tried “Fix Up Redirects” several times on the top level folder as well as ones that had the files. Deleted the offending files and it still won’t package.

The “invalid characters” could be the parentheses? I note that all the ones mentioned have them.

I deleted the content, reinstalled it, tried both with and without parentheses. Still getting the same issues. I tried duplicating the gun and deleting it, but the same issues persist. It still complains about the redirectors not being there, even if the assets and folders are totally deleted.

Would you mind sending me your project using the following link?

https://gdev.tv/projectupload

Please use File > Zip Project within Unreal as this will ensure only required files are zipped up and things like the Binaries are excluded.

The zip might still be too big, if soo please upload it to your own Google Drive or similar service.

I really appreciate it Dan. I submitted the build, included a link to the project on my gdrive as well. Any help appreciated!

I’ve tried several things and can’t get it to work. I’ll try a couple more things tomorrow.

Thank you. Glad to know it’s not just me, it’s been driving me nuts!

Dan, I’ve got great news for you, I fixed it. The problem was the gun asset, I replaced it with “Military Weapons Silver” free on the asset store, deleted the old gun files, and it worked! Appreciate your help.

1 Like

Great, I wasn’t looking forward to tinkering with it today. :laughing:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.