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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.