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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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/