Cooking Failed: logshaders: metallib failed with code 1: LLVM Error : SF Metal SM5

Hi,

I got this error in log when Cooking and Packaging for Mac, it has something to do with Metal but I can’t find what exactly.
I tried enable/ disable Mac metal desktop render with AND without tesselation in the project settings but it did not change anything.
Does it has something to do with Xcode ? I can’t find answers anywhere. Where should I even start looking?

The game is a 3D runner working with blueprints, 2800 actors, many textures (optimized) and very few added lights. Let me know if you need more infos.

Log text is attached.

I run UE 4.22.3 on iMac Mojave, processor 3,6 GHz Intel Core i9, memory 72 Go 2667 MHz DDR4, graphics Radeon Pro Vega 48 8 Go

Thanks a lot !

P.S. I also posted this question in the iOS discussion as there is no dedicated thread for mac packaging. hope it is ok :slight_smile:

Is there any success in this issue?

In my experience, this message is a complete red herring. I chased it for a while, but ended up re-creating my Xcode project then opening it, which prompted me for some component updates, then re-built the game project. Once that was done, this error just went away.

/Users/Shared/Epic\ Games/UE_5.2/Engine/Build/BatchFiles/Mac/GenerateProjectFiles.sh -project=“.uproject” -game -XCodeProjectFiles