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
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
Add comment