Search Issue Tracker
By Design
Votes
1
Found in [Package]
1.5.0-preview.7
Issue ID
1207553
Regression
No
[ARFoundation][Android] OnDisable takes a significant amount of time
Repro steps:
1. Open attached project
2. Build and Run on Android with Development Build and Autoconnect Profiler checked
3. Attach the Profiler and press the "Enable AR" button on the device
4. Scan a few planes and disable AR with the second button
5. Observe the Profiler
Actual: OnDisable takes a significant amount of time
Reproducible with: ARFoundation 3.0.1
Tested and reproduce on these devices:
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00277, Asus ROG Phone (ASUS_Z01QD), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00096, Samsung Galaxy S8 (SM-G950F), Android 8.0.0, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00149, Samsung Galaxy S9 (SM-G960F), Android 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00124, Google Pixel 2 XL (Pixel 2 XL), Android 10, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00263, Google Pixel 3 (Pixel 3), Android 10, CPU: Snapdragon 845, GPU: Adreno (TM) 630
Notes:
- All of the tested devices had OnDisable times of over 300ms
- Reproduces on Mono and IL2CPP
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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Resolution Note:
Confirmed with Google that pausing an AR Session is an expensive process as it is disabling the camera. Nothing we can do on the Unity side.