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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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