unity-mcp/MCPForUnity/Editor
dsarno faf9affc36
fix: JSON material property handling + tests (manage_asset) #90 (#349)
* feat: add JSON property handling for materials; add tests for JSON coercion and end-to-end; update test project manifest and ProjectVersion

* fix(manage_asset): support structured texture blocks case-insensitively; resolve _BaseMap/_MainTex automatically and apply when missing name

* Update MCPForUnity/Editor/Tools/ManageAsset.cs

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* refactor(manage_asset): remove goto; reuse alias resolver for structured texture (supports 'albedo'); tests: self-sufficient texture asset and _BaseColor/_Color guards; python: assert success in invalid JSON case

* chore(manage_asset): remove duplicate return in modify case

* tests: fix mocks/patching for manage_asset/manage_gameobject; make invalid-json case tolerant; ensure prefab modify test patches transport correctly

* ci: allow manual dispatch for Unity EditMode tests (workflow_dispatch)

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-10-24 11:43:26 -07:00
..
Data Remove old UI and do lots of cleanup (#340) 2025-10-24 00:50:29 -04:00
Dependencies Remove old UI and do lots of cleanup (#340) 2025-10-24 00:50:29 -04:00
External Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Helpers Remove old UI and do lots of cleanup (#340) 2025-10-24 00:50:29 -04:00
Importers Allow users to easily add tools in the Asset folder (#324) 2025-10-18 00:18:25 -04:00
Models Remove old UI and do lots of cleanup (#340) 2025-10-24 00:50:29 -04:00
Resources Add testing and move menu items to resources (#316) 2025-10-13 11:16:43 -04:00
Services Remove old UI and do lots of cleanup (#340) 2025-10-24 00:50:29 -04:00
Setup Remove old UI and do lots of cleanup (#340) 2025-10-24 00:50:29 -04:00
Tools fix: JSON material property handling + tests (manage_asset) #90 (#349) 2025-10-24 11:43:26 -07:00
Windows Remove old UI and do lots of cleanup (#340) 2025-10-24 00:50:29 -04:00
AssemblyInfo.cs Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
AssemblyInfo.cs.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Data.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Dependencies.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
External.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Helpers.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Importers.meta Allow users to easily add tools in the Asset folder (#324) 2025-10-18 00:18:25 -04:00
MCPForUnity.Editor.asmdef Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
MCPForUnity.Editor.asmdef.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
MCPForUnityBridge.cs Add testing and move menu items to resources (#316) 2025-10-13 11:16:43 -04:00
MCPForUnityBridge.cs.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
MCPForUnityMenu.cs Remove old UI and do lots of cleanup (#340) 2025-10-24 00:50:29 -04:00
MCPForUnityMenu.cs.meta Remove old UI and do lots of cleanup (#340) 2025-10-24 00:50:29 -04:00
Models.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Resources.meta Add testing and move menu items to resources (#316) 2025-10-13 11:16:43 -04:00
Services.meta New UI and work without MCP server embedded (#313) 2025-10-11 03:08:16 -04:00
Setup.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Tools.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Windows.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00