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
- "Problem detected while importing the Prefab file" errors on Learning Templates import
- Crash on RaiseException during Socket.BeginConnect in Player when application connection is blocked through commercial firewall
- Decal Projector produces artifacts when the normal and decal are projected in negative z-direction and Normal Blend is set to 1
- Undoing slider field change only resets slider position, doesn't undo the value change
- Precision changes when a tangent is added to a Vertex node
Resolution Note (fix version 2022.2):
Fixed by unknown PR in 2022.2.0a12