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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note (fix version 6000.4.0a2):
Added margin tag to ATG
Resolution Note (fix version 6000.3.0b5):
Added margin tag to ATG