iOS Universal Link - Crashing on Cold Boot

Hello! I’m running into an issue with Universal Links. It works fine when the app is suspended.
When the app is cold booted from a universal link, it hangs indefinitely on a black screen.

I’ve logged the errors in Unity and it seems to come from this section of code during launch.
I’ve attached pictures of the logged threads as well.

I do have Firebase in the app for other purposes as you can see in the logged thread.
Is this a Unity bug, or a collision between Firebase and Unity? Any way to fix this?

- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity
#if defined(__IPHONE_12_0) || defined(__TVOS_12_0)
    restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring> > * _Nullable restorableObjects))restorationHandler
#else
    restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler
#endif
{
    NSURL* url = userActivity.webpageURL;
    NSLog( @"url is %@", url);
    if (url)
        UnitySetAbsoluteURL(url.absoluteString.UTF8String);
    return YES;
}


Are you also using the Facebook SDK?
Potentially this: [IOS] Unity Crashes on Startup with Deep Link Launch EXC_BAD_ACCESS (code=1, address=0x378) · Issue #712 · facebook/facebook-sdk-for-unity · GitHub

Hey. I have same problem on iOS only. It started after Unity update from 2021.3.23 to 2021.3.36.
Any updates on this issue?