Search Issue Tracker
Active
Under Consideration for 1.1.X
Votes
0
Found in [Package]
1.1.6
Issue ID
PROFB-344
Regression
No
Visual Elements are not garbage collected when using clear() on parent object
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Open Memory Profiler (Window > Analysis > Memory Profiler)
5. Click “Capture”
6. Select the captured snapshot
7. Open “All Of Memory” tab
8. Click on any object under Managed > Managed Objects > UnityEngine.UIElements.VisualElement
9. On the right side of the Memory Profiler window, observe the text under “Help”
Expected result: GCHandle is reported
Actual result: Text “There is no reference pointing to this object and no GCHandle reported for it. This is a Bug, please report it using 'Help > Report a Bug' and attach the snapshot to the report.“ is present
Reproducible with: 1.1.6 (6000.3.0a1, 6000.1.9f1)
Could not test with: 1.1.6 (2022.3.62f1, 6000.0.51f1) (Assets\Scripts\Main\UIDisplay\VisualElements\InfographicPanel.cs(11,63): error CS0117: 'Color' does not contain a definition for 'gray1')
Reproducible on:
Play Mode
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 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
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment