Starting an AR Session with UE5.7 on IOS26 crashes with.
[UE] Fatal error: [File:./Runtime/Core/Private/HAL/MallocBinned2.cpp] [Line: 900]
FMallocBinned2 Attempt to realloc an unrecognized block 0x121cb0000 canary == 0x0 != 0xe3
Switching to ANSI allocator stops the crash and the ar session works fine.
Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Stability
Steps to Reproduce
Build an standard AR app on MAC.
Build and deploy with XCODE 26.1
Run on IOS and start an AR session.
You’ll see an instant crash.
Same problem here.
They don’t accept bug reports on the forums. Today I actually built the Git version to check whether this crash was fixed. And 5.7.1 has just been released today as well. The crash is still present in Git too.
I submitted a report through the form today and then stumbled upon this post
We’ll have to wait. For now it looks like we’ll need to stay on ANSI or 5.6 (everything works fine there).
To be able to work with Xcode 26.1 on 5.6, go to Engine/Config/Apple/Apple_SDK.json.
There are instructions there on how to add compiler and IDE versions.
In block 1, set: "MaxVersion": "26.1.0",
In block 9, add the following clang versions to AppleVersionToLLVMVersions: "26.0.0-19.1.5", "26.1.0-19.1.5"
For those who came here looking for a fix:
To work around the crash in 5.7, add these lines to your game Target.cs (or wrap them so they only apply to the iOS platform):