Search Issue Tracker

Active

Under Consideration for 5.1.X, 6.0.X

Votes

0

Found in [Package]

5.1.5

6.0.3

Issue ID

ARFB-487

Regression

No

ARPointCloudManager leaks data when it's component is enabled/disabled in XR simulation and the camera is stationary

Package: AR Foundation

-

Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Select the “XR Origin” GameObject in the Hierarchy window
4. Open the XR Environment window and dock it (Window > XR > AR Foundation > XR Environment)
5. Enter Play Mode
6. Move the camera in the Game View with right-click and dragging the mouse
7. Disable the AR Point Cloud Manager component in the Inspector window
8. Enable the AR Point Cloud Manager component in the Inspector window
9. Exit Play Mode
10. Enter Play Mode
11. Observe the Console window

Expected result: There are no leak logs in the Console window
Actual result: There is a “Leak Detected” log in the Console window

Reproducible with: 5.1.5(2022.3.45f1), 6.0.3(6000.0.17f1)
Couldn’t test with: 4.2.10(2021.3.43f1) (due to compilation errors)

Reproducible on: macOS Sonoma 14.6.1 (M1 Pro)
Not reproducible on: No other environment tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.