Search Issue Tracker
By Design
Votes
0
Found in
2021.3.46f1
2022.3.54f1
6000.0.31f1
6000.1.0a8
7000.0.0a1
Issue ID
UUM-90927
Regression
No
[iOS] Multiple OnApplicationFocus calls when the Notification Center is accessed
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the Build Profiles Window (File > Build Profiles)
3. In the Build Profiles Window, press the “Build” button to build an XCode project
4. Open the built XCode project
5. In the XCode Window, deploy the Player to a device
6. In the Player, perform a swipe-down gesture on the left side of the screen to access the Notification Center
7. Observe the XCode Console Window
Expected result: “The application has lost focus” is logged once
Actual result: “The application has lost focus” is logged, “The application has regained focus” is logged and then “The application has lost focus” is logged again
Reproducible with: 2021.3.46f1, 2022.3.54f1, 6000.0.31f1, 6000.1.0a8
Reproducible environment: MacOS 15.1.1 Intel, 15.0.1 M2 (user’s)
Not reproducible environment: No other environment tested
Reproducible on:
VLNQA00395, iPhone 13, CPU: Apple A15 Bionic, OS: 18.1.1
VLNQA00382, iPhone 7, CPU: Apple A10 Fusion, GPU: PowerVR GT7600 Plus, OS: 13.1
iPhone 7, OS: 15.8.2, iPhone 11, OS: 16.7.2 iOS (user’s)
Not reproducible on:
VLNQA00519, Google Pixel 4 (Pixel 4), Android 12, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
Notes:
- If the swipe-down gesture is performed on the right side of the screen to access the Control Center, the issue does not occur, and the method behaves as expected
- The issue does not occur with other out-of-focus triggers
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
The log also cleary prints "applicationWillResignActive" and "applicationDidBecomeActive". These are AppController callbacks called by iOS, so Unity simply matches iOS app state - the app does get paused, resumed and paused again by iOS.