Search Issue Tracker
By Design
Votes
0
Found in [Package]
Issue ID
1335050
Regression
No
[ARFoundation] CpuImages sample's framerate drops significantly
Reproduction steps:
1. Download and open the attached "arfoundation-samples.zip"
2. Build and deploy for iOS
3. Move the phone camera around
Expected result: The framerate doesn't noticeably drop
Actual result: The framerate noticeably drops
Reproducible with: 2019.4.28f1, 2020.3.11f1, 2021.1.10f1, 2021.2.0a20
Reproduced with: iPhone 12 Pro (iOS 14.2.1), iPhone 12 Pro Max (Usert Information)
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
- “Open” button in Inspector does not function for certain Assets
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
Resolution Note:
The description sounds like the device is entering into thermal throttling. Thermal throttling occurs when your device heats up excessively due to a number of components being simultaneously active. When iOS enters into a high thermal state, iOS will throttle features and the frame rate on the device to reduce the generated heat until the device cools off.
The iPhone 12 Pro and iPhone 12 Pro Max both have LiDAR sensors which contribute significantly to the thermal state. The iPad Mini and the iPhone SE do not have a LiDAR sensor.
This forum post describes the thermal effects, how to detect the thermal state in your code, and how to take action to avoid entering thermal throttling. https://forum.unity.com/threads/ar-foundation-support-for-iphone-12-pro-with-lidar.987810/