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!
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.
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.
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.
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.