Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
henkmassink's avatar
henkmassink
Explorer
1 year ago
Solved

Cooking errors when updating from 5.3.2 to 5.4.2

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

 

  • 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

     

2 Replies

Replies have been turned off for this discussion
  • 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

     

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