unity-mcp/TestProjects/UnityMCPTests/Assets
dsarno ed11e30b47
fix: prefab stage dirty flag, root rename, test fix, and prefab resources (#627)
- Mark prefab stage scene as dirty when manage_components adds/removes/
  modifies components, ensuring save_open_stage correctly detects changes

- When renaming the root GameObject of an open prefab stage, also rename
  the prefab asset file to match, preventing Unity's "file name must
  match" dialog from interrupting automated workflows

- Fix ManagePrefabsCrudTests cleanup order: delete NestedContainer.prefab
  before ChildPrefab.prefab to avoid missing prefab reference errors

- Remove incorrect LogAssert.Expect that expected an error that doesn't
  occur in the test scenario

- Add new prefab MCP resources for inspecting prefabs:
  - mcpforunity://prefab-api: Documentation for prefab resources
  - mcpforunity://prefab/{path}: Get prefab asset info
  - mcpforunity://prefab/{path}/hierarchy: Get full prefab hierarchy

Addresses #97 (Prefab Editor Inspection & Modification Support)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 17:35:01 -08:00
..
Scenes Set up Unit tests (#220) 2025-08-15 21:24:55 -04:00
Scripts fix: replace Editor-only McpLog with Debug.LogWarning in Runtime assembly (#535) 2026-01-08 07:59:05 -08:00
Tests fix: prefab stage dirty flag, root rename, test fix, and prefab resources (#627) 2026-01-25 17:35:01 -08:00
Packages.meta feature/Add new manage_scriptable_object tool (#489) 2025-12-28 20:15:50 -08:00
Scenes.meta Set up Unit tests (#220) 2025-08-15 21:24:55 -04:00
Scripts.meta Set up Unit tests (#220) 2025-08-15 21:24:55 -04:00
Temp.meta 🔧 Clean up & Consolidate Shared Services Across MCP Tools (#519) 2026-01-06 12:58:17 -08:00
Tests.meta Set up Unit tests (#220) 2025-08-15 21:24:55 -04:00