Search Issue Tracker
Fixed
Fixed in 2022.3.62f1, 6000.0.52f1, 6000.1.3f1, 6000.2.0a10
Votes
2
Found in
2022.3.58f1
6000.0.38f1
6000.1.0b6
6000.2.0a3
Issue ID
UUM-97542
Regression
No
[iOS] "UnityBatchPlayerLoop()" causes a freeze in the iOS application when it is put to the background and brought back to the foreground
How to reproduce:
1. Open the “ReproProject.zip“ project
2. In the “File > Build Settings“ switch to the iOS module
3. Build the Xcode project
4. Open the “Unity-iPhone.xcodeproj“ file in Xcode
5. Build to a physical device
6. Put the device to sleep and wake it or swipe up the application to enter App Switcher and select the app from one once again
Expected result: The application does not freeze
Actual result: The application freezes
Reproducible with: 2022.3.58f1, 6000.0.38f1, 6000.1.0b6, 6000.2.0a3
Reproducible environment: macOS 15.2 (M4 Max)
Not reproducible environment: No other environment tested
Reproducible with these devices:
VLNQA00535, iPhone XS (MT9F2ET/A), CPU: Apple A12 Bionic, GPU: Apple designed, OS: 17.6.1
VLNQA00416, iPhone 13 Pro (MLVA3ET/A), CPU: Apple A15 Bionic, GPU: Apple designed, OS: 16.1.1
VLNQA00626, iPhone 16 (MYE73QN/A), CPU: Apple A18 Pro, GPU: Apple designed, OS: 18.0.1
VLNQA00232, iPhone 8 Plus (MQ8M2ET/A), CPU: Apple A11 Bionic, GPU: Apple designed, OS: 16.7.10
VLNQA00600, iPad Pro (9.7 inch, WiFi), CPU: Apple A9X, GPU: Apple designed, OS: 14.8 (The application freezes on launch)
Notes:
- Exchange the “UnityBatchPlayerLoop()“ to the “UnityPlayerLoop()“ in the “.mm“ files in the Xcode project, not a workaround “UnityPlayerLoop()“ causes a flood of OS errors since Unity (Metal) is trying to use the graphics while in the background
- It freezes on the first launch of the app from Xcode, but consistent reproduction will happen once the app is put to the background and brought back to the foreground
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment