I can launch my game but cant package it

Hello!

The game launches directly into my phone or tablet just fine but when I try to package it it giving me a cooking error.

I have already tried deleting my saved and intermediate directories to see if this helped but it didn’t.

[Cook Log][1]

[UAT Log][2]

47030-cook.txt (254 KB)
[2]: 47051-uat_log.txt (309 KB)

Hey ,

After reviewing your cooking , I see the following errors:

LogInit:Display: CookResults:Error: Error Error loading C:/Users//Documents/Unreal Projects/batazoMobileUD/Content/stadium/whitePaint.uasset!
LogInit:Display: LogTextLocalizationManager:Warning: Loaded localization resources contain conflicting entries for (Namespace:ContentBrowser, Key:ImportAssetToolTip):
Localization Resource: (C:/Program Files/Epic Games/4.8/Engine/Content/Localization/Editor/en/Editor.locres) Source String Hash: (-630476809) Localized String: (Import to {0}...) Hash: (1271782899) Localized String: (Imports an asset from file to this folder.)
LogInit:Display: LogMaterial:Warning: Failed to compile Material /Engine/EngineDebugMaterials/MAT_LevelColorationLitLightmapUV.MAT_LevelColorationLitLightmapUV for platform GLSL_ES2, Default Material will be used in game.
LogInit:Display: LogMaterial:Warning: (Node LightmapUVs) Node not supported in feature level ES2
LogInit:Display: LogMaterial:Warning: Failed to compile Material /Engine/EditorMaterials/PreviewShadowIndicatorMaterial.PreviewShadowIndicatorMaterial for platform GLSL_ES2, Default Material will be used in game.
LogInit:Display: LogMaterial:Warning: (Node TextureSample) Node not supported in feature level ES2
LogInit:Display: LogLinker:Warning: The file '/Users//Documents/Unreal Projects/batazoMobileUD/Content/stadium/whitePaint.uasset' contains unrecognizable data, check that it is of the expected type.

I would highly suggest looking over the assets that the are pointing out and see whether or not they’re what’s causing the trouble. Sometimes assets can become corrupted which will cause trouble with packaging. A way you can test this is to create a copy of your project, remove those files and replace those files with assets that aren’t throwing errors or warnings.

Looking forward to hearing back from you, thanks!

Thank you for your reply .

Okay! I’ve had this issue before actually. The uassets it’s looking for don’t exist. I did what I did before: made a new project migrated the two main scene files over and it worked.

I keep having this issue when I’m deleting files in unreal they stay in the directories and then give me issues with packaging.

When I delete a file in the Content Browser in unreal is there some special trick I’m missing? xD

tried what you said but I still get this error:

MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: [2015.06.19-23.27.17:066][ 0]CookResults:Error: Error Error loading C:/Users//Documents/Unreal Projects/batazoMobileUD/Content/stadium/whitePaint.uasset!
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: [2015.06.19-23.27.17:066][ 0]LogCook:Error: Error loading C:/Users//Documents/Unreal Projects/batazoMobileUD/Content/stadium/whitePaint.uasset!

Hey ,

Have you tried deleting your intermediate, config and saved files from the project folder? Once you’ve done that, go back into your project in the editor and right click within the content browser. Select the ‘fix up redirectors in folder’.

Let me know if this helps resolve the issue you’re running in to, thanks!

Hey,

Have you gone to C:/Users//Documents/Unreal Projects/batazoMobileUD/Content/stadium/ directly and made sure the file does not exist? Have you made sure it’s not referenced in any other asset as well?

Thanks!

Hey !

I looked through the directory in explorer and found the files I had deleted in the content browser in UR4. When I deleted them and selected the “fix up redirectors in folder” option I was able to create the package.

I don’t know if it may be a bug or something but this happens to me a lot when I delete animations (files staying in the directories I mean) and as in this case when deleting a material.

At least now I know where to fix the issue.

Thank you so much for you help, I appreciate it!

You’re very welcome , if you run into any further complications, feel free to post a new question on AnswerHub and we’ll assist you as soon as we’re able to.

Have a wonderful day!