Reproduction steps:
1. Open the attached Project “BugRepro”
2. Open Build Settings and enable Autoconnect Profiler
3. Build and Run on an Android device
4. In the Profiler’s search bar enter “ARCameraManager.Update”
Expected result: GCAlloc is using close to no memory
Actual result: GCAlloc is at 1.8kb
Reproducible with: 4.2.7 (2020.3.45f1), 5.1.0-pre.3 (2021.3.19f1, 2022.2.9f1, 2023.1.0b5, 2023.2.0a4)
Reproducible on: Samsung Galaxy S9 (SM-G960F), CPU: Exynos 9 Series 9810, GPU: Mali-G72, OS: 10.0.0
Google Pixel 3 (Pixel 3), CPU: Snapdragon 845, GPU: Adreno 630, OS: 12.0.0