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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.