Search Issue Tracker

In Progress

Fixed in 6000.2.8f1, 6000.3.0a6

Fix In Review for 6000.0.60f1

Under Consideration for 6000.4.X

Votes

1

Found in

6000.0.54f1

6000.1.16f1

6000.2.0b13

6000.3.0a4

6000.4.0a1

6000.5.0a1

Issue ID

UUM-113453

Regression

No

Unnecessary Material Instantiation happens when UI state or layout changes occur

-

How to reproduce:
1. Open the attached “IN-109190” project
2. Open the “UISampleScene”
3. Open the Profiler (Window > Analysis > Profiler)
4. Enter Play mode
5. Start recording the Profiler information and observe the Memory section
6. Resize the Game View by dragging its edges
7. Observe the result

Expected result: New Material instances are not created; Material count remains stable
Actual result: New Material instances are created; Material count increases rapidly

Reproducible with: 2023.1.0a16, 6000.0.54f1, 6000.2.0b13, 6000.3.0a4
Couldn’t test with: 2023.1.0a15 (Could not fix issues from downgrading)

Reproduced on: Windows 10 (User reported), Windows 11
Not reproduced on: No other environment tested

Note: You can also reproduce the issue by navigating to Hierarchy > Page - Interactables > Content > Upper Shelf > Gradient Bar, and changing the slider value in the Inspector with the “Value” Component. You must exit and re-enter Play mode for this to reproduce

  1. Resolution Note (fix version 6000.3.0a6):

    Shadergraph: Fixed duplicate material creation in canvas samples.

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.