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.
1 Like
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 )
Hi, unfortunately the fix has not resolved the problem on my end. âException NSException * âCould not get rusage: 22.â 0x00000002814b1b60â (iOS 15.8.5 (19H394))
Running 5.6.1 with fixed ApplePlatformMemory.cpp, Xcode Version 26.2 (17C52)
Thank you. Ivan
I am going to attempt to revert to Xcode 16.1, on Tahoe running from command line. Iâll report back
Tested on 16.4, 16.1 no longer works due to AssetCatalogSimulatorAgent error
Results on 16.4 (SDK 18.5 (22F76)) is the same: Assertion failure in static FPlatformMemoryStats FApplePlatformMemory::GetStats()(), ApplePlatformMemory.cpp:448
2025-12-18 14:32:16.628142-0500 Wormwood[2335:61896] *** Terminating app due to uncaught exception âNSInternalInconsistencyExceptionâ, reason: âCould not get rusage: 22.â
Please Advise. Thank you