This website requires JavaScript.
Explore
Help
Sign In
PHXH
/
unity-mcp
Watch
51
Star
0
Fork
You've already forked unity-mcp
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
0c52c1c92e
unity-mcp
/
TestProjects
/
UnityMCPTests
/
Assets
/
Scripts
/
Hello.cs.meta
2 lines
59 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Set up Unit tests (#220) * Add a base Unity project to run unit tests in * Add Windsurf IDE support so I can test more easily * Add a dummy script * feat: add unit tests for CommandRegistry and document prefab asset workflows * Run tests when code is pushed to main * Bump version of actions * Install the MCP plugin via relative path * Remove test branch from GH workflow
2025-08-16 09:24:55 +08:00
fileFormatVersion: 2
feat: Automatic Background Compile and Domain Reload for MCP Script Edits and New Script Creation (#248) * Unity MCP: reliable auto-reload via Unity-side sentinel flip; remove Python writes - Add MCP/Flip Reload Sentinel editor menu and flip package sentinel synchronously - Trigger sentinel flip after Create/Update/ApplyTextEdits (sync) in ManageScript - Instrument flip path with Debug.Log for traceability - Remove Python reload_sentinel writes; tools now execute Unity menu instead - Harden reload_sentinel path resolution to project/package - ExecuteMenuItem runs synchronously for deterministic results - Verified MCP edits trigger compile/reload without focus; no Python permission errors * Getting double flips * Fix double reload and ensure accurate batch edits; immediate structured reloads * Remove MCP/Flip Reload Sentinel menu; rely on synchronous import/compile for reloads * Route bridge/editor logs through McpLog and gate behind debug; create path now reloads synchronously * chore: ignore backup artifacts; remove stray ManageScript.cs.backup files * fix span logic * fix: honor UNITY_MCP_STATUS_DIR for sentinel status file lookup (fallback to ~/.unity-mcp) * test: add sentinel test honoring UNITY_MCP_STATUS_DIR; chore: ManageScript overlap check simplification and log consistency * Harden environment path, remove extraneous flip menu test * refactor: centralize import/compile via ManageScriptRefreshHelpers.ImportAndRequestCompile; replace duplicated sequences * feat: add scheduledRefresh flag; standardize logs; gate info and DRY immediate import/compile * chore: remove execute_menu_item sentinel flip from manage_script_edits; rely on import/compile * chore: remove unused MCP reload sentinel mechanism * fix: honor ignore_case for anchor_insert in text conversion path
2025-09-03 00:36:50 +08:00
guid: bebdf68a6876b425494ee770d20f70ef