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
- Crash on RaiseException when creating a multiplayer room while toggling UI
- Performance Markers “Add Column” dropdown has a lot of empty space when opened
- Console Warning -- KeyboardIconAtlas sprite Input Outline goes beyond the boundary of the Sprite rect.
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
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.