MacOS UE 5.7 Build Errors

Hello,

I’m running into a compilation error when building Unreal Engine 5.7, and it appears to be an issue in engine code rather than project code. (Sonoma 14.6 / Xcode 15.4)

PlatformProcess.h(75,12): Error : no matching constructor for initialization of ‘TTuple<FReadHandle, FWriteHandle>’

(Engine/Source/Runtime/Core/Public/HAL/PlatformProcess.h)

return TTuple<FReadHandle, FWriteHandle>{ ReadPipe, WritePipe };

In UE 5.7, FReadHandle and FWriteHandle seem to have become strongly typed handles and no longer allow implicit construction from void*.

Is there any solution to this problem? I don’t want to dig into the engine’s source code.

Just downloaded + intstalled on Sonoma 14.2.1 and I am getting the samer error

If necessary, you can fix temporarily this line in Engine/Source/Runtime/Core/Public/HAL/PlatformProcess.h (75)

return TTuple<FReadHandle, FWriteHandle>{ FReadHandle{ReadPipe}, FReadHandle{WritePipe} };

For me using XCode 16.2 fixed it.

Thank you for bringing this to our attention. This change has been integrated to the main branch.

1 Like