Skip to content

v0.3.1

Choose a tag to compare

@Winlifes Winlifes released this 18 May 07:00

What's Fixed

  • Compile errors on Unity 6000.3+ (#3) — Object.GetInstanceID() and EditorUtility.InstanceIDToObject(int) are obsolete-as-error on Unity 6000.3+, breaking installation on Unity 6000.5+ out of the box. Object IDs now route through a new internal ObjectIdHelper that uses GetEntityId / EditorUtility.EntityIdToObject on Unity 6000.3+ and the legacy InstanceID API on older Unity.

  • HTTP transport fails to restart after Unity domain reload (#1) — Fire-and-forget _ = StopAsync() in beforeAssemblyReload did not actually stop the listener before Unity unloaded the AppDomain, leaving port 8765 bound. Added a synchronous stop path used by both Dispose and the domain-reload handler; also consolidated the dual auto-start paths after reload so only one start runs.

⚠️ Wire Format Change

instanceId, componentInstanceId, and fileID fields in tool responses are now always JSON strings instead of numbers. On Unity 6000.3+ they are EntityId text; on older Unity they are decimal InstanceID strings. MCP clients that parsed these as integers must now accept strings.

Install

UPM Git URL: `https://github.com/FunplayAI/funplay-unity-mcp.git\`

Or `Funplay > Check for Updates` in an existing install.