Search Issue Tracker
Fixed
Fixed in 2022.3.21f1
Votes
0
Found in
2022.3.20f1
Issue ID
UUM-85163
Regression
No
“The caller of UIApplication.openURL(:) needs to migrate to the non-deprecated UIApplication.open(:options:completionHandler:)” error is logged when calling the Application.OpenURL method on iOS devices with OS version 18 and higher
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the Build Settings Window (File > Build Settings)
3. Pres the Build button to build and XCode project
4. Open the build in XCode
5. Build the Player
6. Inside the Player, press the “I” button in the bottom left corner
7. Press any of the social buttons
8. Oberve the Player
Expected result: A website is opened in a browser
Actual result: Nothing occurs and “<Error>: BUG IN CLIENT OF UIKIT: The caller of UIApplication.openURL(:) needs to migrate to the non-deprecated UIApplication.open(:options:completionHandler:). Force returning false (NO).” is logged in the device’s log
Reproducible with: 2022.3.20f1
Not reproducible with: 6000.0.23f1
Fixed in: 2022.3.21f1
Could not test with: 2021.3.43f1 (Multiple “error CS1501” compilation errors)
Reproducible environment: MacOS 14.6.1 (Intel), (M1 (user’s))
Not reproducible environment: No other environment tested
Reproducible on:
iPhone 15 Pro Beta - iOS 18.1
iPhone 13 mini - iOS 18.0
iPhone 15 Pro on iOS 18 (user’s)
Not reproducible on:
VLNQA00382, Apple iPhone 7 (iPhone9,3), Android 13.1, CPU: Apple A10 Fusion, GPU: Apple A10 Fusion
iPhone 12 - iOS 17.7
iPad 9.7 2017 - iOS 12.3.1
Samsung Galaxy S23 - Android 14
Motorola Moto G6 Plus - Android 8.0.0
MacOS Buildtime
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
alexvyx924
Nov 27, 2024 10:45
Hi, will this fix being backported to previous Unity versions such as 2021, 2020, ..., etc.?
If not, then I think it means that the projects which do not want to upgrade Unity would need to invoke native API call on their own, am I correct?
In that case, which Unity APIs (including Application.OpenURL) should we take care?