Search Issue Tracker
Fixed
Fixed in 6000.3.0b5, 6000.4.0a2
Votes
0
Found in
6000.3.0a5
6000.4.0a1
Issue ID
UUM-114883
Regression
Yes
RichText failure with <margin> tags
Sample showcase styling is broken for VFX learning templates ⏬
Steps to reproduce:
- Open the attached project
- Open HDRP_VFX_Learning_Templates Scene
- Select the Sample_Showcase object in the Hierarchy
- Observe the Inspector window
Actual results: Covered Aspects list items have broken styling. E.g - <margin=1em>Strip Output Context
Expected results:* Covered Aspects is styled as a bullet point list
Reproducible with versions: 6000.3.0a5
Not reproducible with versions: 6000.0.56f1, 6000.1.16f1, 6000.2.2f1, 6000.3.0a4
Tested on (OS): Windows 11, macOS 15.6
*Note from [~pauld] (formerly assigned to VFX area)
!image-2025-08-22-07-59-51-830.png|thumbnail!
The Text entry have the following content
{code:html}
<link="MultiStripGPUEvents.vfx"><color=#7AA8EEFF>Open VFX</color></link><br><link="VFXG Multi-Strips GPU-Events"><color=#FFE373FF>Show VFX</color></link><br><br>There are several ways to spawn particles, and when dealing with <b>strips</b>, this can have some implications for how you need to set up your VFX. This example illustrates how to circumvent the usual limitation that only permits the creation of one strip per parent's particle when dealing with <a href="https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@latest/index.html?subfolder=/manual/Block-TriggerEventRate.html">Trigger Events</a>. Each headphone jack is made of a particle mesh and spawns particles along its path.<br><br><b>Covered Aspects</b>:<br><margin=1em>• <a href="https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@latest/index.html?subfolder=/manual/Context-OutputShaderGraphStrip.html">Strip Output Context</a><br></margin><margin=1em>• <a href="https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@latest/index.html?subfolder=/manual/Operator-GetAttributeStripIndex.html">Strip Index</a></margin>
{code}
Thus, it can be reproduced with a simplest repro
{code:C#}
public class ReproRichText : EditorWindow
{
[MenuItem("CLICK HERE FOR REPRO/Repro Rich Text")]
public static void ShowExample()
{
ReproRichText wnd = GetWindow<ReproRichText>();
wnd.titleContent = new GUIContent("Simple Label");
}
public void CreateGUI()
{
var myLabel = new Label();
myLabel.text =
"<link=\"MultiStripGPUEvents.vfx\"><color=#7AA8EEFF>Open VFX</color></link><br><link=\"VFXG Multi-Strips GPU-Events\"><color=#FFE373FF>Show VFX</color></link><br><br>There are several ways to spawn particles, and when dealing with <b>strips</b>, this can have some implications for how you need to set up your VFX. This example illustrates how to circumvent the usual limitation that only permits the creation of one strip per parent's particle when dealing with <a href=\"https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@latest/index.html?subfolder=/manual/Block-TriggerEventRate.html\">Trigger Events</a>. Each headphone jack is made of a particle mesh and spawns particles along its path.<br><br><b>Covered Aspects</b>:<br><margin=1em>• <a href=\"https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@latest/index.html?subfolder=/manual/Context-OutputShaderGraphStrip.html\">Strip Output Context</a><br></margin><margin=1em>• <a href=\"https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@latest/index.html?subfolder=/manual/Operator-GetAttributeStripIndex.html\">Strip Index</a></margin>";
myLabel.enableRichText = true;
rootVisualElement.Add(myLabel);
}
}
{code}
!image-2025-08-22-08-11-13-947.png|thumbnail!
!image-2025-08-22-08-18-35-016.png|thumbnail!
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
- PlayerPropertiesChanged event fires before Player Properties are applied
- Opening Media Pop-out in “Before You Start” Tutorial throws “Styles” and “Styles_Dark” messages in the Console window
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
Resolution Note (fix version 6000.4.0a2):
Added margin tag to ATG
Resolution Note (fix version 6000.3.0b5):
Added margin tag to ATG