Unity Issue Tracker - Sprite rich text tag does not render the sprite when sprite asset is specified in UI Toolkit
Closed
UUM-110268
Sprite rich text tag does not render the sprite when sprite asset is specified in UI Toolkit
Unity: UI Toolkit Framework
As Designed
6.2.X
6.1.X
6.0.X
2022.3.X
This is an error with the Default Sprite Asset path specified. The user needs to include a "/" at the end ("Sprites/")
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Observe the Game view
Expected result: The <sprite> tags render the specified sprites inline
Actual result: The text <sprite="KeyboardAtlas" name="space"> <sprite="KeyboardAtlas" index=1> is displayed literally and does not render any sprites