Skip to content

v1.1.2 — Non-inheritable native listener handover

Choose a tag to compare

@i1rr i1rr released this 17 Nov 12:20

1.1.2 completes Windows native listener handover by preventing socket-handle inheritance into Unity child processes.

  • Retain 1.1.1's explicit physical-DLL binding and retirement of prior package providers.
  • Create listening sockets atomically with WSA_FLAG_NO_HANDLE_INHERIT and clear inheritance on accepted sockets. Children can no longer keep a stopped MCP port bound without an accept thread.
  • Rebuild deterministically with MSVC 14.51.36231 / Windows SDK 10.0.26100.0 and retain native provenance. The DLL SHA-256 is efd3d03afd39079e85e38a5ea3f8c66b8335e19bb3f1a5d7fccc0754946663e9.

Verified on Windows / Unity 6000.6.9f1: exact signed archive passes 537 Editor/41 graphical runtime tests with observed Mono cleanup, 8 native socket cases and 6 physical-provider cases. The child-inheritance test fails against the old DLL with WinError10048 and passes against this DLL. Same-process 1.1.1→signed 1.1.2→file→archive and ordinary managed reload preserve port 8287, both legacy sessions, token/preferences, interrupted-request outcome reporting, subscription closure and single cleanup. Clean package-only archive installation and valid Custom Logic signatures pass. Public registry SHA-256/SHA-512 match these signed bytes. The real previous-version Package Manager exposes Update to 1.1.2, and a live registry 1.1.1→1.1.2 consumer retains its original process/port, one intended MCP listener, both legacy sessions and Valid signature. The actual affected consumer also passes repeated signed archive/registry cycles, direct native chat continuity, four focused scene tests and a composited Boot/menu/lobby journey without restarting Unity or changing its client URL. Upstream #14 is closed with the evidence and migration limitation.

Existing handles inherited from older native DLLs cannot be retroactively revoked by an upgrade. A legacy affected Editor may require one-time cleanup of its confirmed idle child workers and an MCP server restart; the actual affected consumer was recovered without restarting Unity. Future listeners created by 1.1.2 do not leak into children. 1.1.1 alone is incomplete for that case; its immutable release notes now record the limitation.

No cloud CI, new development-player build, IL2CPP, other OS/native handover, additional Unity version, hardware or performance claim. Both legacy wire versions remain supported; modern 2026-07-28 clients keep stateless requests. Do not blindly replay interrupted mutations.

Commit: 3a4dfc8
Signed archive SHA-256: 4b2a4fb380fdec123c9f784f404a52993723e9c6c7f6823d4f65dbf58f49a058
Unity signing organization: Custom Logic
Git alternative: https://github.com/i1rr/unity-MCP.git#v1.1.2
Registry: https://i1rr.github.io/unity-MCP (scope only i1rr-unity-mcp)
Tracking: #14