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
- [UWP] Mouse movement re-triggers stale <Mouse>/scroll value after the scroll wheel is used once
- "Shutdown worker was forced killed because it kept running. Worker ..." errors are thrown after building a blank HDRP project
- [UI Toolkit] USS materials in AssetBundles break due to InstanceID referencing a material that no longer exists when a Scene is loaded through Addressables for the second time
- Help button leads to a missing documentation page when clicked on a Font Import Settings in the Inspector
- TextMeshPro Text Component reads bottom-to-top instead of top-to-bottom when using RTL Editor
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