3

When I try to run UE 5.6.1, or UE 5.8 (Built from Source Code), I get the following metal error:

screenshot of Error

I have tried modifying the Apple_SDK.json and setting the Max versions to 26.0.0 and LLVM versions are fine.

I tried building u5_main source as well and get the same result. It builds fine, but when it goes to run same thing.

I have tried manually installing the Metal SDK from Xcode Directly, and from command line to no avail. I also tried the various hacks and tricks for the beta versions that I found in different forums.

Here is the Metal Toolchain information:

Metal Toolchain 26.0 (17A324) [com.apple.MobileAsset.MetalToolchain: 17.0 (17A324)] 
   (Installed)

Here is the Apple_SDK.json config:

{
    "//1": "Xcode versions:",
        "MainVersion": "15.2",
        "MinVersion": "15.2.0",
        "MaxVersion": "26.0.0",
    "//2": "!!!",
    "//3": "NOTE: If you update the MaxVersion, double check the AppleVersionToLLVMVersion array below!!!",
    "//4": "!!!",

    "//5": "The versions on Windows are iTunes versions:",
        "MinVersion_Win64": "1100.0.0.0",
        "MaxVersion_Win64": "8999.0",

    "//6": "This is not a version range, but a mapping of Xcode clang versions to LLVM versions, for shared version checks with other clangs",
    "//7": "Version mapping can be found at https://en.wikipedia.org/wiki/Xcode#Toolchain_versions",
    "//8": "The first half of the pair is the first version that is using the second version source LLVM",
    "//9": "For instance, Xcode 16 uses LLVM 17.0.6",
        "AppleVersionToLLVMVersions": [
            "14.0.0-14.0.0",
            "14.0.3-15.0.0",
            "15.0.0-16.0.0",
            "16.0.0-17.0.6",
            "16.3.0-19.1.4"
        ]
}

Any ideas?

5
  • 1
    I also got hit with this today, although for iOS 26. I solved the Metal toolchain by installing it with the command line as prompted (needed the -freshstart flag first), but despite that still having issues. Not sure UE supports v26 just yet, so I'm downgrading to Xcode 16.4. Commented Sep 21 at 2:50
  • I think I'll do the same thing. I hate having two versions of xcode, and swapping between cmd-line tools, but I guess I'll have to until Epic comes out with a new fix. I've been pulling the repo daily, takes forever to build on m1max. Commented Sep 22 at 21:31
  • Added the latest version, 26.0.1-18.1.0, in my own case, to the "AppleVersionToLLVMVersions". That's what solved it. In your case, it should be 26.0.0-18.1.0" Commented Oct 10 at 20:39
  • None of that works. I tried updating to the latest and it still won't work. Same error. Commented Oct 11 at 5:19
  • Also according to en.wikipedia.org/wiki/Xcode#Toolchain_versions The versions are supposed to be "26.0.1-19.1.5" for LLVM NOT 18.1.0 Commented Oct 11 at 6:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.