Search Issue Tracker
Fixed
Fixed in 6000.3.12f1, 6000.4.0b12, 6000.5.0a9, 6000.6.0a1
Votes
0
Found in
6000.3.8f1
6000.4.0b8
6000.5.0a7
6000.6.0a1
Issue ID
UUM-135928
Regression
Yes
UI Toolkit leaks 4 persistant allocates when the DisplayStyle of a VisualElement is set from Flex to None
How to reproduce:
1. Open the attached “IN-135441_leak” project
2. Open the “OutdoorsScene” Scene
3. Navigate to Edit->Preferences->Jobs
4. Make sure Leak Detection Level is set to “Enable With Stack Trace”
5. Enter Play mode
6. Exit Play mode
7. Enter Play mode again
8. Observe the Console window
Actual result: “Leak Detected : Persistent allocates 4 individual allocations.” log message is thrown
Expected result: No log message is thrown
Reproducible with: 6000.3.0a1, 6000.3.10f1, 6000.4.0b10, 6000.5.0a7
Not reproducible with: 6000.0.68f1, 6000.2.0b2 (2bdac9ac0d74)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: In Unity version 6000.5.0a7, this log message is thrown: “Leak Detected : Persistent allocates 8 individual allocations.”
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.6.0a1):
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.5.0a9):
Fixed in 6000.5.0a9
Resolution Note (fix version 6000.4.0b12):
Fixed in 6000.4.0b12
Resolution Note (fix version 6000.3.12f1):
Fixed in 6000.3.12f1