Unreal 5.6 Crash on iOS 15 devices

5.6 build on iOS 15

Oct  6 12:48:32 iPhone-11-pro-max-IT-40180 mygame(Foundation)[504] <Notice>: *** Assertion failure in static FPlatformMemoryStats FApplePlatformMemory::GetStats()(), ApplePlatformMemory.cpp:448
Oct  6 12:48:32 iPhone-11-pro-max-IT-40180 mygame(CoreFoundation)[504] <Notice>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not get rusage: 22.'

Not yet tested with a blank template

Hi Tuomas,

Thanks for bringing this to our attention. If you can confirm that this occurs on a UE template, we should be able to get access to an iOS 15 device and see if this can be addressed. Can you additionally confirm Xcode version being used?

Best regards.

Hi Tuomas,

Can you confirm which version of Xcode you are using?

My suspicion is that the definitions of rusage_info_current / RUSAGE_INFO_CURRENT aren’t compatible with the iOS 15 runtime. Does specifying RUSAGE_INFO_V5 instead resolve?

Best regards.

Hi Tuomas,

The fix is available at CL. 47113106,

Best regards.

You’re very welcome Tuomas, thank you for bringing this issue to our attention!

Best regards.

I am not able to get a blank template to QA at the moment, but we have tried both with our game and a nearly blank test project ( which has been updated from 5.5, though ) with the same result.

Hops, I missed the Xcode version last time. We are on 16.2 ( I now realize recommended is 16.1 )

Where to adjust RUSAGE_INFO_CURRENT to RUSAGE_INFO_V5 please?

Or should I be seeing if I can switch to 16.1 ( though I think we have been on 16.2 for at least 5.5 phase )

Thank you!