Search Issue Tracker
Fixed
Fixed in 5.0.0-pre.11
Votes
0
Found in [Package]
5.0.0-pre.10
Issue ID
ARFB-24
Regression
No
Samples SimpleAR scene throws Memory Leak error after Pause and Resume
Summary
Using AR Simulation to navigate the SimpleAR scene, clicking the Pause and Resume buttons in Game view reveal bug ARFB-23:
https://jira.unity3d.com/browse/ARFB-23
However, after doing these steps and then exiting Play mode, this Console error occurs:
A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details.
To See the Bug
Open the ARF Samples project in the Editor.
Open the SimpleAR scene.
In Build settings, select desktop platforms.
Enable XR Simulation in Project settings.
In Scene view, use the AR Simulation overlay to select the biggest office simulation environment.
Enter Play mode.
Click in Game view to give it focus.
In Game view, click the Pause button.
In Game view, click the Resume button.
Exit Play mode.
Note the error in Console; this is the bug.
See Comment for entire Editor log.
Configuration
2021.3.0f1.2 (2021.3/staging 6eacc8284459)
MacOS 12.0.1, MacBook Pro (15-inch, 2019), 2.4 GHz 8-Core Intel Core i9
AR Foundation 5.0.0-pre.10 (f6569c5)
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
- Memory leak occurs when focused on Player while using Direct3D12
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
Resolution Note:
Two of us cannot repro in Unity 2022.2. Bug was originally seen in a Unity version that will not be supported by AR Simulation. Closing bug.
Resolution Note (fix version 5.0.0-pre.11):
Issue no longer reproducible, likely fixed by another changelist
Two of us cannot repro in Unity 2022.2. Bug was originally seen in a Unity version that will not be supported by AR Simulation. Closing bug.