Quixel Megascans fails to build to the Apple Vision Pro in 5.4

Hello,

As the title says - seems to be a cook issue. Running into a whole lot of repeated errors along the lines of

UATHelper: Packaging (VisionOS): LogInit: Display: 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 (VisionOS):   Source package: /Game/MSPresets/M_MS_Default_Fuzz_Material/M_MS_Default_Fuzz_Material
UATHelper: Packaging (VisionOS):   Target package: /Bridge/MSPresets/MSTextures/WhitePlaceholder
UATHelper: Packaging (VisionOS):   Referenced object: /Bridge/MSPresets/MSTextures/WhitePlaceholder.WhitePlaceholder

This seemingly happens for all of the MSPreset folder. I’m currently only using one MegaScans material, imported directly into the level.

Thank you!

3 Likes

I’m having the exact same problem with the Quest 3. What I did as a workaround was to recreated the material, then replace the material instance with the one I created. That got it to work. I’m going to keep digging to see what the problem is. Seems to be related to the default material instance. Not sure if it’s me doing something wrong or if it’s an actual bug.

thanks! that’s exactly what I did, which unfortunately is not scalable if you’re using a ton of materials.

Haven’t had a chance to try this but a friend confirmed that unchecking “Excluding Editor Content While Cooking” should get rid of the problem. I’ll get a chance to test this soon - let me know if it worked for you!

I found the bug and fixed it in my local copy. Android isn’t listed as a supported platform for the Bridge plugin. I edited the /Engine/Plugins/Bridge/Bridge.uplugin file and added “Android” to the SupportedTargetPlatforms section. I added it to the Modules sections as well, but not sure if it was needed there.

It was missing in past versions, but there wasn’t a problem. Guess they fixed something else that caused the problem.

14 Likes

Thank you, this is absolutely the solution that fixed it for me!

1 Like

This is working solution for 5.4 [Android Project]

I can’t found Bridge.uplugin

Rebooting worked for me
 I tried multiple fixes and afterwards, I always closed and reopened the editor and tried again with no luck. I always hate when rebooting works because I should have done it first.

it worked for me

I love you.

You’re breathtaking!

You’re a king, thank you ! Same issue was with me but IOS platform.
For the ones not finding the file it’s in /Users/Shared/Epic Games/UE_5.4/Engine/Plugins/Bridge (on Mac)

Thanks a lot! I’ve tried many things to fix this and try to make these textures local, my AI (claude . ai) wasn’t any help for this, I told him the solution but his answer was “This is a much more elegant way to fix the issue than the workarounds I proposed” 
 indeed