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: v6.2.0
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: v6.2.1
Choose a head ref
  • 5 commits
  • 10 files changed
  • 3 contributors

Commits on Oct 17, 2025

  1. Update to support Codex CLI

    Fix the JSON installation on Codex in Wizard;
    Adding the lines to support Codex CLI on windows temporarily, thanks to openai/codex#4180
    Scriptwonder committed Oct 17, 2025
    Configuration menu
    Copy the full SHA
    3d9860e View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2025

  1. Update certain file GUIDs to prevent conflict

    Resolve Issue#330 by replacing AI-generated guids with random generated.
    Scriptwonder committed Oct 20, 2025
    Configuration menu
    Copy the full SHA
    15c35ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be7ade8 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2025

  1. Fix material mesh instantiation warnings (#331)

    * Editor: prevent material/mesh instantiation in edit mode
    
    - GameObjectSerializer: in edit mode, normalize material/mesh access
      - material -> sharedMaterial
      - materials -> sharedMaterials
      - mesh -> sharedMesh
      - also guard materials/sharedMaterial/sharedMaterials property names
    - Tests: add strong instanceID equality checks for Renderer/MeshFilter
      - prove no instantiation by shared instanceID before/after
      - cover multi-material, null cases; prune brittle presence/console tests
    - Clean up and relax ManageGameObject tests to avoid false negatives
    
    * Address review: simplify edit-mode guard; include protected/internal [SerializeField]; fix tests to destroy temp primitives and use dictionary access; strengthen instanceID assertions
    
    * Fix resource leaks in test files
    
    - ManageGameObjectTests.cs: Destroy temporary primitive GameObject after extracting sharedMesh
    - MaterialMeshInstantiationTests.cs: Destroy instantiated uniqueMesh after test completion
    
    These fixes prevent resource leaks in Unity test files by properly cleaning up temporary objects created during tests.
    
    * Fix reflection bug in GetComponentData tests
    
    - Replace incorrect reflection-based field access with proper dictionary key access
    - GetComponentData() returns Dictionary<string, object> where 'properties' is a key, not a field
    - Tests now properly access the properties dictionary and run assertions
    - Fixes ineffective tests that were silently failing due to reflection returning null
    dsarno authored Oct 21, 2025
    Configuration menu
    Copy the full SHA
    f4d62e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a81e130 View commit details
    Browse the repository at this point in the history
Loading