Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2020.3.X, 2021.3.X
Votes
0
Found in
2020.3
2021.2.19f1
2021.3
2022.1
2022.2
Issue ID
1425674
Regression
No
ARFoundation.ARPlane memory leak of boundary NativeArray when using Holographic Remoting to HoloLens 2
How to reproduce:
1. Open the attached project "Sample.zip"
2. Open Assets/ARRaycast/ARRaycast.unity
3. Enable Holographic Remoting for Play Mode (Mixed Reality>Remoting>Holographic Remoting for Play Mode)
4. Open Holographic Remoting on HoloLens 2
5. Enter Play Mode in the Editor
6. Open "AR Raycasting" Scene on HoloLens 2
7. Exit Play Mode
Expected results: No errors thrown in the Console window
Actual results: "A Native Collection has not been disposed, resulting in a memory leak." error thrown in the Console window
Reproducible with: 2020.3.33f1, 2021.3.3f1, 2022.1.1f1, 2022.2.0a11
Not reproducible with: 2022.2.0a12, 2022.2.0a13
Could not test with: 2019.4.38f1 (OpenXR not supported)
Reproducible on: Windows 10
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
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
Resolution Note (fix version 2022.2):
Fixed by unknown PR in 2022.2.0a12