cancel
Showing results for 
Search instead for 
Did you mean: 

Cooking errors when updating from 5.3.2 to 5.4.2

henkmassink
Explorer

I am using the github fork. My project was made in 5.3.2. Project was running fine on the quests.
I have updated the engine to the latest version oculus-5.4 from the oculus github.

When packaging I get a lot of cooking errors, for example:

UATHelper: Packaging (Android (ASTC)): LogCook: Error: Content is missing from cook. Source package referenced an object in target package but the target package was marked NeverCook or is not cookable for the target platform.
UATHelper: Packaging (Android (ASTC)): Source package: /Game/MSPresets/M_MS_Decal_Material_VT/M_MS_Decal_Material_VT
UATHelper: Packaging (Android (ASTC)): Target package: /Bridge/MSPresets/MSVTTextures/WhitePlaceholder
UATHelper: Packaging (Android (ASTC)): Referenced object: /Bridge/MSPresets/MSVTTextures/WhitePlaceholder.WhitePlaceholder

i found this forum post , and trying to solve it. 😉

To get the project working with 5.4.2. I had to (see Notes, has nothing to do with the cooking errors)

Note:  After migrating to 5.4.2. I had to " Update redirector references" in the editor.

Note:  In the .... Target.cs files I had to set the BuildSettingsVersion to V5

DefaultBuildSettings = BuildSettingsVersion.V5;

 

Anybody had the same issues with the cooking errors?   

Greetings from the Netherlands

 

1 ACCEPTED SOLUTION

Accepted Solutions

henkmassink
Explorer

Update : This solution from the forum worked for me:

To be honest, I don't like this solution, I hope this will be solved in newer versions of unreal.

Change DefaultEditor.ini

[CookSettings]
CookContentMissingSeverity=Warning

 

View solution in original post

2 REPLIES 2

henkmassink
Explorer

Update : This solution from the forum worked for me:

To be honest, I don't like this solution, I hope this will be solved in newer versions of unreal.

Change DefaultEditor.ini

[CookSettings]
CookContentMissingSeverity=Warning

 

Hjp
Explorer

Because you are using a content in Editor folder in Engine and UE cannot package it.

You can go to Project Setting -> Packaging -> Disable Exclude editor content when cooking. Or you can duplicate that uncookable content to your project folder. Duplicate /Bridge/MSPresets/MSVTTextures/WhitePlaceholder and move to your project folder and retarget to new content at your source package (M_MS_Decal_Material_VT).

I recommend method 2.