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
- A NullReferenceException error is thrown when extracting textures from an FBX
- “Convert To Subgraph Operator” option is capitalised incorrectly in VFX Graph
- "Toggle all debug panels" shortcut throws “NullReferenceException: Object reference not set to an instance of an object” error
- Rect Transform values are set to NaN when scaling UI element with centered scaling
- "Local Volumetric Fog" Component's "Inherit from Hierarchy" mode doesn't support negative "Scale" on the "Transform" Component
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.