Search Issue Tracker

By Design

Votes

0

Found in [Package]

Built-in

Issue ID

1384495

Regression

No

9-Sliced Sprites do not scale correctly in UI Toolkit when Sprite Asset is Addressable

Package: UI Toolkit

-

Reproduction steps:
1. Open user-submitted project
2. Enter Play Mode

Expected result: Two panels with identical backgrounds are displayed
Actual result: Two panels with different backgrounds are displayed

Reproducible with: 1.0.0-preview.18 (2020.3.28f1), Built-in (2021.2.12f1, 2022.1.0b7, 2022.2.0a5)
Could not test with: 2019.4.36f1 (No UI Toolkit)

  1. Resolution Note:

    The 9-slice information was lost because the background type was set to Texture, and not Sprite. Setting the background type to Sprite in the UI Builder fixes the issue.

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.