iOS crashing when attempting authentication via EOS_LCT_PersistentAuth or EOS_LCT_AccountPortal

I’m experiencing a crash on iOS when attempting to authenticate. Attempting authentication via persistent authorization or account portal both cause an immediate crash. Authentication on Windows and MacOS versions of the same game works like a charm.

iPhone 13, running 18.2.1

UE 5.5.4

Xcode 16.2

Shipping build, building directly on a mac, testing on TestFlight

Crash logs from the iPhone show consistently the following:

Exception Type: EXC_BAD_ACCESS (SIGKILL)

Exception Subtype: KERN_PROTECTION_FAILURE at 0x00c8000000000000 -> 0xffffff8000000000

(possible pointer authentication failure)

Exception Codes: 0x0000000000000002, 0x00c8000000000000

VM Region Info: 0xffffff8000000000 is not in any region. Bytes after previous region: 18446743042900508673

REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL

owned unmapped memory unmapped-unmapped [ 16.1M] rw-/rw- SM=PRV owned physical footprint

(unmapped)

--->

UNUSED SPACE AT END

Termination Reason: CODESIGNING 2 Invalid Page



Triggered by Thread: 0



Kernel Triage:

VM - (arg = 0x0) CL -



Thread 0 name: Dispatch queue: com.apple.main-thread

Thread 0 Crashed:

0 ??? 0xffffff8000000000 ???

1 EOSSDK 0x10c83f50c 0x10c40c000 + 4404492

2 libdispatch.dylib 0x19f192248 _dispatch_call_block_and_release + 32

3 libdispatch.dylib 0x19f193fa8 _dispatch_client_callout + 20

4 libdispatch.dylib 0x19f1a2a34 _dispatch_main_queue_drain + 984

5 libdispatch.dylib 0x19f1a264c _dispatch_main_queue_callback_4CF + 44

6 CoreFoundation 0x197459bbc CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16

7 CoreFoundation 0x1974561b0 __CFRunLoopRun + 1996

8 CoreFoundation 0x1974a8274 CFRunLoopRunSpecific + 588

9 GraphicsServices 0x1e46214c0 GSEventRunModal + 164

10 UIKitCore 0x199fee77c -[UIApplication _run] + 816

11 UIKitCore 0x199c14e64 UIApplicationMain + 340

12 ERcade-IOS-Shipping 0x108246518 0x104690000 + 62612760 13 dyld 0x1bd67cde8 start + 2724

Any help is appreciated!

Edit: Tiny update - just tried with both overlay enabled and disabled. Same error and crash.

Small update: I think the crash may be coming when the app attempts to open SafariViewService to show the account portal. Here’s a line from the iOS console, happens every time it crashes. (I don’t think the contextToken is supposed to be “null”, but I am not an expert)

Requesting remote view controller: SFBrowserServiceViewController; contextToken: (null); bundleId: com.apple.SafariViewService

if anyone has any ideas… they’d be much appreciated!

Hey, are you using EOS SDK 1.17? If you are not, can you backport the 1.17 version (see documentation here)?

Hey, would you happen to have another iPhone with an older OS version you could use to test? We have an internal report of a crashing issue on iOS 18.2 with a fix coming in EOS SDK version 1.17.1. If you can’t reproduce on a device using an OS version older than iOS 18.2, that would be a good indicator you are running into this issue.

If you don’t have another device, could you create a private discussion and share the logs? Thanks!

Yep, using 1.17 and just ensured I am using the most recent version. Built again just for good measure, still crashes on attempted authentication/trying to open SafariViewService, runs fine before that.

Am also using the EOSCore plugin to expose the functions to blueprint, have double checked with the dev that iOS authentication is being used successfully by other devs with EOSCore and nothing is being done different under the hood.

Any additional logs or info I can include to help figure this out?

Alas, the oldest OS I have is 18.2. If EOS SDK version 1.17.1 fixes the issue though, that’d be great!

Created a private discussion to share logs, case number: 19761789