Repository navigation
Unity 6000.5 support
- Fix: the plugin failed to initialize on Unity 6000.5 because it used the now-obsolete instance-ID APIs (
Object.GetInstanceID(),SerializedProperty.objectReferenceInstanceIDValue). These are version-guarded to the newEntityIdAPIs on 6000.5+, and still compile on 2021.3+. - Fix:
execute_editor_scriptfailed 100% of the time on 6000.5 withThe filename or extension is too long. On 6000.5 Unity's bundled Roslyn compiler moved toDotNetSdk/sdk/<ver>/Roslyn/bincore/, so the plugin fell back to CodeDom, whose command line overflowed the Windows length limit with a real project's hundreds of assembly references. Roslyn discovery now finds the new layout, and all compiler arguments pass through a response file so large projects compile on every path. - Cleanup: the plugin now compiles with zero warnings on 6000.5 (deprecated
FindObjectsByType/FindFirstObjectByTypeoverloads migrated behind version guards; a serialization-analyzer warning resolved).
Multi-project routing
- The plugin now sends a
helloproject handshake on connect, so the MCP server can route to the correct editor when several Unity instances run at once (ports6605-6609), instead of the previous "last connection wins" behavior. Non-matching editors are closed with code4001and back off for 30s. Requires the matching MCP server from the v1.4.0 package.
Thanks to Ed for the detailed 6000.5 reports and Zee for the multi-project repro.