How to reproduce:
1. Open the attached Project "DeepLinkTest"
2. In the Project Settings go to Player -> iOS -> Other Settings
3. Change the Size of "Supported URL schemes*" to 1 and set Element 0 to "test"
4. Build and install the Project on an iOS device
5. On the iOS device, open the browser app and go to "test://"
Expected result: The app opens
Actual result: The app crashes
Reproducible with: 2022.3.17f1, 2023.2.5f1, 2023.3.0b2
Could not test with: 2021.3.34f1 (Xcode project fails to build)
Reproduced on:
- iPhone 12 mini (iOS 14.1)
- iPad Air 4th Gen (iOS 15.2.1)
First lines of the Stack trace:
- thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x35f)
frame #0: 0x00000001068fb088 UnityFramework`core::StringStorageDefault<char>::assign(char const*, unsigned long) + 28
frame #1: 0x0000000106834268 UnityFramework`PlayerSettings::SetAbsoluteURL(core::basic_string<char, core::StringStorageDefault<char> > const&) + 44
frame #2: 0x00000001068afaf0 UnityFramework`UnitySetAbsoluteURL + 100
frame #3: 0x00000001061c5c80 UnityFramework`-[UnityAppController application:openURL:options:] + 192