You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/unity-mcp-skill/references/tools-reference.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -669,6 +669,8 @@ manage_ui(
669
669
3. Create an empty GameObject and attach UIDocument with the UXML source
670
670
4. Use `get_visual_tree` to inspect the result
671
671
672
+
**Important:** Always use `<ui:Style>` (with the `ui:` namespace prefix) in UXML files, not bare `<Style>`. UI Builder will fail to open files that use `<Style>` without the prefix.
Copy file name to clipboardExpand all lines: .claude/skills/unity-mcp-skill/references/workflows.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -607,6 +607,8 @@ Unity has two UI systems: **UI Toolkit** (modern, recommended) and **uGUI** (Can
607
607
608
608
UI Toolkit uses a web-like approach: **UXML** (like HTML) for structure, **USS** (like CSS) for styling. This is the preferred UI system for new projects.
609
609
610
+
> **Important:** Always use `<ui:Style>` (with the `ui:` namespace prefix) in UXML, not bare `<Style>`. UI Builder will fail to open files that use `<Style>` without the prefix.
Copy file name to clipboardExpand all lines: unity-mcp-skill/references/tools-reference.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -671,6 +671,8 @@ manage_ui(
671
671
3. Create an empty GameObject and attach UIDocument with the UXML source
672
672
4. Use `get_visual_tree` to inspect the result
673
673
674
+
**Important:** Always use `<ui:Style>` (with the `ui:` namespace prefix) in UXML files, not bare `<Style>`. UI Builder will fail to open files that use `<Style>` without the prefix.
Copy file name to clipboardExpand all lines: unity-mcp-skill/references/workflows.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -610,6 +610,8 @@ Unity has two UI systems: **UI Toolkit** (modern, recommended) and **uGUI** (Can
610
610
611
611
UI Toolkit uses a web-like approach: **UXML** (like HTML) for structure, **USS** (like CSS) for styling. This is the preferred UI system for new projects.
612
612
613
+
> **Important:** Always use `<ui:Style>` (with the `ui:` namespace prefix) in UXML, not bare `<Style>`. UI Builder will fail to open files that use `<Style>` without the prefix.
0 commit comments