chore: bump version to 9.6.0#943
Merged
Merged
Conversation
…67576971 chore: sync main (v9.5.3) into beta
…se-positives [bug-fix]Duplicate signature fix
…2645400 chore: update Unity package to beta version 9.5.4-beta.2
Handle plugin session evictions and extend CLI/docs; misc Unity tooling fixes. - Server: PluginRegistry.register now returns (session, evicted_session_id). PluginHub consumes the evicted id to cancel ping tasks, clear pending commands, remove state, and close the old WebSocket to avoid orphaned connections after reconnection races. Tests updated to unpack the returned tuple. - CLI/docs: Add extensive camera, graphics, packages, and texture command examples and raw command snippets across CLI guides and examples; update command reference tables. - Unity editor tools: SkyboxOps adds a CustomReflectionTexture accessor to handle Unity API differences (RenderSettings.customReflection vs customReflectionTexture). ManageScript now ignores C# keywords when detecting duplicate methods to prevent false positives; added unit test to cover keyword cases. - Misc: Small docstring tweaks in services/tools/utils.py and skill docs updated to reference manage_camera screenshots.
Plugin eviction, CLI camera/graphics, minor fixes
…8848721 chore: update Unity package to beta version 9.5.4-beta.3
bug-fix on Manage Script name-path conflict
…3031767 chore: update Unity package to beta version 9.5.4-beta.4
… resolution - Replace non-existent ParamCoercion.CoerceLong with fileIdToken.Value<long>() - Add error return when fileID matches no sprite (consistent with spriteName branch) - Remove extra blank line before GetSpriteFileId Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- unchecked((long)targetObjectId) prevents OverflowException for large ulong fileIDs - Replace silent catch with McpLog.Warn including sprite name and instanceID Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat(mcpforunity): support atlas sprite resolution by guid+spriteName/fileID
…5263284 chore: update Unity package to beta version 9.5.4-beta.5
Update MCPForUnityEditorWindow.cs
…6020162 chore: update Unity package to beta version 9.5.4-beta.6
1. Add McpLog that could log mcp calls and errors under Asset/ 2. Solve issues #816 via incluging str in annotation, extracted AssignedObjectreference() helper that verify assignments and resolve component types from gameobjects.
…b.com/jiajunfeng/unity-mcp into feat/scene-view-screenshot-capture-v2
…pture-v2 feat(camera): add scene view screenshot capture support
…22230058 chore: update Unity package to beta version 9.5.4-beta.14
Implements get_type, get_member, and search actions via live C# reflection. Assembly cache with domain reload invalidation, extension method discovery, ambiguity detection, generic type parsing.
- Register 'docs' group in tool_registry (opt-in, not in defaults) - unity_reflect wraps get_type/get_member/search actions to Unity C# - 17 tests covering param validation, routing, scope handling
13 tests covering get_type, get_member, search, generic types, ambiguity detection, namespace resolution, and error handling.
Fetches + parses Unity ScriptReference HTML from docs.unity3d.com. Version-aware URL construction, method/property URL fallback, stdlib html.parser, 28 tests covering extraction and error handling.
reflect CLI routes to Unity (standard pattern). docs CLI calls Python functions directly (no C# handler).
- CLI docs.py: call _get_doc() directly instead of duplicating fallback logic - UnityReflect.cs: use UnityTypeResolver.ResolveAny() for primary type resolution - UnityReflect.cs: cache GetAssemblyTypeCache() before loops (avoid repeated lock) - UnityReflect.cs: cache ObsoleteAttribute lookup (was called twice per method) - UnityReflect.cs: use HashSet instead of List for obsolete member dedup - UnityReflect.cs: reuse assembly cache in FindExtensionMethods
Unity ScriptReference now uses h3 (not h2) for section titles, "signature-CS sig-block" divs (not <pre> in signature), "name lbl"/"desc" td classes (not "name-collumn"/"desc-collumn"). Parser now supports both old and new formats. 5 new tests added.
Instructs AI to use unity_reflect/unity_docs and asset search to verify Unity APIs before answering, rather than relying on training data. Highlights common hallucination areas.
- get_manual: fetch Unity Manual pages by slug with version fallback - get_package_doc: fetch package docs with redirect tracking (URP etc.) - _ManualPageParser for article-style HTML (h1 title, h2/h3 sections) - _fetch_url_full returns final URL after redirects - 12 new tests, 1002 total passing
Searches ScriptReference, Manual, and package docs concurrently via asyncio.gather. Returns all hits with source labels. 5 new tests, 1007 total passing.
MCP clients serialize list params as strings. Changed queries parameter from list[str] to comma-separated string for compatibility.
lookup now detects asset-related keywords (shader, material, texture, sprite, lit, urp, etc.) and automatically includes manage_asset search alongside doc queries. Runs in parallel, fails silently if no Unity connection.
Previous: used full query as search pattern (e.g., *MeshRenderer 2D lights URP*) — matched nothing. Now extracts individual terms, strips stopwords, infers filter_type from keywords (shader→Shader, etc.), runs multiple focused searches in parallel. Deduplicates results.
- manifest.json: add both tools in alphabetical order - README.md: add to Available Tools, update Recent Updates - README-zh.md: mirror changes in Chinese - SKILL.md: add Docs group to tool categories with trust hierarchy - tools-reference.md: full reference for both tools with examples - workflows.md: add 5 API verification workflow patterns
- Fix lock ordering deadlock: switch ExtensionMethodCache to ConcurrentDictionary - Add ambiguity check to get_member (was missing, get_type already had it) - Add Dictionary<TKey, TValue> generic resolution test
- get_member now resolves extension methods as fallback before "not found" - lookup preserves original-case slugs for Manual pages (UIE-USS-Properties-Reference) - lookup surfaces per-source errors instead of silently dropping them
…-tools Feature: API verification via doc/asset
…56870960 chore: update Unity package to beta version 9.5.4-beta.15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated version bump to 9.6.0.