Search Issue Tracker
Fixed
Fixed in 6000.0.60f1, 6000.2.8f1, 6000.3.0a6
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
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 (fix version 6000.3.0a6):
Shadergraph: Fixed duplicate material creation in canvas samples.