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

UI Toolkit Graphics

-

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.”

  1. Resolution Note:

    Fixed in 6000.6.0a1

  2. Resolution Note (fix version 6000.6.0a1):

    Fixed in 6000.6.0a1

  3. Resolution Note (fix version 6000.5.0a9):

    Fixed in 6000.5.0a9

  4. Resolution Note (fix version 6000.4.0b12):

    Fixed in 6000.4.0b12

  5. Resolution Note (fix version 6000.3.12f1):

    Fixed in 6000.3.12f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.