Skip to content

Release v2.26.0 — SpriteAtlas, self-test overhaul, Unity 6 compat, version fix#7

Merged
jcornill merged 10 commits intomainfrom
integration
Apr 2, 2026
Merged

Release v2.26.0 — SpriteAtlas, self-test overhaul, Unity 6 compat, version fix#7
jcornill merged 10 commits intomainfrom
integration

Conversation

@jcornill
Copy link
Copy Markdown
Contributor

@jcornill jcornill commented Apr 2, 2026

Summary

  • SpriteAtlas commands — New SpriteAtlas management commands (contributed by @zaferdace in feat: add SpriteAtlas management commands #6)
  • Self-test overhaul — Robust test runner with domain reload resume, timeout, try/catch, and probes for all 43 command modules
  • Unity 6 compatibility — Resolved 43 CS0618 deprecation warnings (FindObjectsByType, Shader API, NamedBuildTarget)
  • Version display fix — Dashboard and update checker now read version from package.json instead of hardcoded value (Fixes Version numbers unity-mcp-server#9)
  • Changelog & README updated for v2.26.0

Commits

  • a4f2201 fix: read plugin version from package.json instead of hardcoded value
  • 1e957e2 docs: bump to v2.26.0
  • add25ec chore: add missing .meta files
  • 432d673 fix(self-test): handle Scenario probe when MPPM not installed
  • 03b695a fix(self-test): wrap UMA probe in #if UMA_INSTALLED
  • 1d935f4 feat(self-test): add probes for all 43 command modules
  • dccea4f fix: resolve 43 CS0618 deprecation warnings
  • 929a356 fix(self-test): robust test runner with domain reload resume
  • 7d1ecfc feat: SpriteAtlas commands (feat: add SpriteAtlas management commands #6)

Test plan

  • Plugin compiles with zero errors and zero warnings
  • Self-tests run all 43 probes successfully
  • Dashboard displays correct version from package.json
  • Update checker uses dynamic version

🤖 Generated with Claude Code

zaferdace and others added 10 commits March 31, 2026 10:37
New tools for creating, inspecting, and managing Unity SpriteAtlases:
- spriteatlas/create: create new atlas with optional settings
- spriteatlas/info: get atlas details (packables, settings)
- spriteatlas/add: add sprites/folders to atlas with validation
- spriteatlas/remove: remove packables with truthful reporting
- spriteatlas/settings: update packing/texture settings
- spriteatlas/delete: delete atlas asset
- spriteatlas/list: find atlases in project

Includes input validation, type checking for packables, and
consistent Dictionary<string, object> return types matching
existing command patterns (MCPTextureCommands).
feat: add SpriteAtlas management commands
… & new probes

- Wrap Step() in try/catch/finally to prevent infinite loop on probe crash
- Add per-test timeout (5s) to flag slow/hanging probes
- Persist results & progress via SessionState (survives domain reload)
- Auto-resume test run after domain reload (e.g. asmdef test triggers recompilation)
- Add test probes for shadergraph, terrain, and amplify (all 25 categories now covered)
- Add Debug.Log at each step for runtime diagnosis

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… compat

- FindObjectsOfType<T>() → FindObjectsByType<T>(FindObjectsSortMode.None) (7 occurrences, 6 files)
- ShaderUtil.GetProperty*/GetRangeLimits/IsShaderPropertyHidden/GetTexDim → Shader.GetProperty* API (MCPAmplifyCommands, MCPShaderGraphCommands)
- PlayerSettings.GetScriptingBackend/GetApiCompatibilityLevel(BuildTargetGroup) → NamedBuildTarget overload (MCPProjectCommands, MCPProjectSettingsCommands)
- NavMeshBuilder: suppress CS0618 with pragma (migration to NavMeshSurface deferred)
- Remove unused _testsFoldout field (MCPDashboardWindow)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ries)

- Add 18 missing categories to AllCategories in MCPSettingsManager:
  constraint, graphics, memoryprofiler, navigation, packagemanager, particle,
  prefabasset, prefs, projectsettings, scenario, screenshot, scriptableobject,
  search, spriteatlas, texture, ui, uma, undo
- Add corresponding test probes for each new category using safe read-only methods
- All 43 MCP*Commands modules now have a self-test probe (zero "No test defined" warnings)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…mmands guard

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ListScenarios returns an error dict when MPPM is missing.
Treat "not installed" errors as a pass instead of a failure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… folder

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add v2.26.0 changelog entry and What's New section, update tool count
to 288 across README.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The dashboard and update checker both had version hardcoded to 2.23.1,
causing incorrect version display and false update notifications.
Now reads dynamically from UPM package.json via PackageInfo API.

Fixes AnkleBreaker-Studio/unity-mcp-server#9

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jcornill jcornill merged commit b90d01b into main Apr 2, 2026
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.

Version numbers

2 participants