Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: CoplayDev/unity-mcp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.2.2
Choose a base ref
...
head repository: CoplayDev/unity-mcp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.2.3
Choose a head ref
  • 2 commits
  • 5 files changed
  • 3 contributors

Commits on Dec 11, 2025

  1. Fix/script path assets prefix and ctx warn bug (#453)

    * Fix script path handling and FastMCP Context API usage
    
    1. Fix script path doubling when Assets prefix is used
       - ManageScript.TryResolveUnderAssets now properly handles both Assets and Assets/ prefixes
       - Previously, paths like Assets/Script.cs would create files at Assets/Assets/Script.cs
       - Now correctly strips the prefix and creates files at the intended location
    
    2. Fix FastMCP Context API call in manage_asset
       - Changed ctx.warn() to ctx.warning() to match FastMCP Context API
       - Fixes AttributeError when manage_asset encounters property parse errors
       - Affects ScriptableObject creation and other asset operations with invalid properties
    
    * Fix manage_asset error handling to use ctx.error
    
    Changed ctx.warning to ctx.error for property parse errors in manage_asset
    tool to properly handle error cases. This ensures parse errors are reported
    as errors rather than warnings, and fixes compatibility with FastMCP Context API.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
    dsarno and claude authored Dec 11, 2025
    Configuration menu
    Copy the full SHA
    2b23af4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e0ef23 View commit details
    Browse the repository at this point in the history
Loading