Skip to content

chore: bump version to 9.6.8#1086

Merged
github-actions[bot] merged 62 commits intomainfrom
release/v9.6.8
Apr 27, 2026
Merged

chore: bump version to 9.6.8#1086
github-actions[bot] merged 62 commits intomainfrom
release/v9.6.8

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated version bump to 9.6.8.

actions-user and others added 30 commits April 7, 2026 03:43
…063103699

chore: sync main (v9.6.6) into beta
Use a version-gated helper that calls GetEntityId on UNITY_6000_5_OR_NEWER while preserving GetInstanceID for older Unity versions.
Suppress the transitional CS0619 cast warning when serializing GetEntityId so projects with warnings-as-errors can compile while keeping backward-compatible instanceID payloads.
Replace direct GetInstanceID calls with a compatibility helper and update serialization to handle EntityId-era identifiers, so the package compiles on Unity 6.5 while preserving behavior on older versions.
Place the compatibility extension in MCPForUnity.Runtime so Runtime/Serialization can resolve GetInstanceIDCompat, fixing Unity 2022 compile errors from assembly visibility.
Keep instanceID in outgoing payloads for wire compatibility, add entityID on newer Unity, continue fallback resolution when entityID lookup fails, and make reflective entity resolution exception-safe.
…26521690

chore: update Unity package to beta version 9.6.7-beta.2
Addresses review feedback on the Unity 6.5 GetInstanceID migration:

- UnityObjectIdCompatExtensions: drop the reflective method lookup in
  favor of a simple #if UNITY_6000_5_OR_NEWER / #else split calling
  GetEntityId() or GetInstanceID() directly. Also wrap the class in
  the MCPForUnity.Runtime.Helpers namespace.
- UnityTypeConverters: remove the reflective EntityIdToObject probe and
  call EditorUtility.EntityIdToObject(EntityId) directly under the same
  version gate. Serialize entityID as EntityId.ToULong() rather than
  ToString(), since Unity's docs explicitly warn that the textual form
  is not a stable serialization contract.
- Drop #pragma warning disable 0619 from 22 files that no longer make
  any direct calls to obsolete APIs. The remaining 7 files still need
  it (FindObjectsOfType, InstanceIDToObject fallback) and are left as-is
  — those deprecations are out of scope for this PR.
- Add the MCPForUnity.Runtime.Helpers using to every file that calls
  GetInstanceIDCompat() now that the extension method lives in a
  namespace.
…16432122

chore: update Unity package to beta version 9.6.7-beta.3
… limitation

Clarify screenshot camera param behavior and UI capture limitation

Corrects misleading "Defaults to Camera.main" in the camera parameter description

and adds explicit warnings that specifying a camera excludes Screen Space - Overlay

canvases from the capture.
docs(camera): clarify screenshot camera param behavior and UI capture limitation
…09573918

chore: update Unity package to beta version 9.6.7-beta.4
BuildTarget.VisionOS does not exist in Unity 2022.3.0 - 2022.3.17 or
2023.1.x, so UNITY_2022_3_OR_NEWER causes CS0117 compile errors on
those versions. Tighten the guard to UNITY_2023_2_OR_NEWER, where the
enum is guaranteed to exist.
fix(build): guard BuildTarget.VisionOS with UNITY_2023_2_OR_NEWER
…72862389

chore: update Unity package to beta version 9.6.7-beta.5
EllieTellie and others added 28 commits April 24, 2026 17:58
Removed AssetOrigin metadata from GeminiCliConfigurator.
The duplicate-method validator was still matching invocation-like text inside method bodies after the constructor-call fix in #1045. Tracking both the current brace depth and the direct member depth for the containing type keeps duplicate detection scoped to actual type members while preserving the existing lightweight parser.

Constraint: The existing validator is regex-based and runs even without Roslyn available

Rejected: Add more fake return-type keyword skips | that would miss local functions and keep the parser fragile

Confidence: high

Scope-risk: narrow

Directive: Keep duplicate-method matching scoped to direct type members unless replacing this validator with a real syntax walk

Tested: Unity -executeMethod repro failed on upstream/beta and passed on this branch with REPRO_OK

Tested: git diff --check

Not-tested: Full Unity 2021.3 EditMode suite locally; only Unity 6000 is installed in this environment and did not emit runner XML for the 2021.3-pinned project
Added a note about Godot AI project.
Remove AssetOrigin from GeminiCliConfigurator meta
…62886190

chore: update Unity package to beta version 9.6.7-beta.6
…function-duplicates

Fix create_script validator false-positive inside method bodies
…62924935

chore: update Unity package to beta version 9.6.7-beta.7
calling TestRunStatus.MarkFinished() to trigger callbacks
…62967131

chore: update Unity package to beta version 9.6.7-beta.8
  1. fix(#1068): block NuGet System.CodeDom conflict via
  overrideReferences
  2. fix(#1062): add reflection branch for Unity 6.6 InstanceIDToObject
  deprecation
  3. refactor: merge EditorObjectResolver into UnityObjectIdCompat (could
  squash into prev)
  4. fix(#1065): cache McpLogRecord.IsEnabled to allow ThreadPool reads
  5. fix(#1070): emit stdio entry from OpenCodeConfigurator
  6. fix: rewrite localhost→127.0.0.1 in NormalizeBaseUrl (supersedes
  #1057)
fix: save prefab stage edits using the correct prefab-stage workflow
…71598707

chore: update Unity package to beta version 9.6.7-beta.9
…nd-warning

Fix MCP main window reopening logic and remove profiler warning
…971645371

chore: update Unity package to beta version 9.6.7-beta.10
…971679138

chore: update Unity package to beta version 9.6.7-beta.11
…972168646

chore: update Unity package to beta version 9.6.7-beta.12
@github-actions github-actions Bot merged commit b92c05a into main Apr 27, 2026
@github-actions github-actions Bot deleted the release/v9.6.8 branch April 27, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.