From f5d56dea4870c550c464c6d98c765259fe04bc3e Mon Sep 17 00:00:00 2001 From: Marcus Sanatan Date: Tue, 14 Oct 2025 21:42:58 -0400 Subject: [PATCH 01/14] chore: update Unity version from 2021.3.45f1 to 2021.3.45f2 Older Unity version had the security vulnerability, so we update it --- .github/workflows/claude-nl-suite.yml | 2 +- .github/workflows/unity-tests.yml | 2 +- TestProjects/UnityMCPTests/ProjectSettings/ProjectVersion.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/claude-nl-suite.yml b/.github/workflows/claude-nl-suite.yml index e5b88763..513dfb76 100644 --- a/.github/workflows/claude-nl-suite.yml +++ b/.github/workflows/claude-nl-suite.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true env: - UNITY_IMAGE: unityci/editor:ubuntu-2021.3.45f1-linux-il2cpp-3 + UNITY_IMAGE: unityci/editor:ubuntu-2021.3.45f2-linux-il2cpp-3 jobs: nl-suite: diff --git a/.github/workflows/unity-tests.yml b/.github/workflows/unity-tests.yml index 4b795ad1..8f0837bf 100644 --- a/.github/workflows/unity-tests.yml +++ b/.github/workflows/unity-tests.yml @@ -20,7 +20,7 @@ jobs: testMode: - editmode unityVersion: - - 2021.3.45f1 + - 2021.3.45f2 steps: # Checkout - name: Checkout repository diff --git a/TestProjects/UnityMCPTests/ProjectSettings/ProjectVersion.txt b/TestProjects/UnityMCPTests/ProjectSettings/ProjectVersion.txt index 8386a052..1a62a673 100644 --- a/TestProjects/UnityMCPTests/ProjectSettings/ProjectVersion.txt +++ b/TestProjects/UnityMCPTests/ProjectSettings/ProjectVersion.txt @@ -1,2 +1,2 @@ -m_EditorVersion: 2021.3.45f1 -m_EditorVersionWithRevision: 2021.3.45f1 (0da89fac8e79) +m_EditorVersion: 2021.3.45f2 +m_EditorVersionWithRevision: 2021.3.45f2 (88f88f591b2e) From ba35a47b699f74dd6ecfa80df1fa0859ffed57f7 Mon Sep 17 00:00:00 2001 From: Marcus Sanatan Date: Wed, 15 Oct 2025 13:42:20 -0400 Subject: [PATCH 02/14] feat: add dynamic version display in editor window settings --- MCPForUnity/Editor/Windows/MCPForUnityEditorWindowNew.cs | 3 +++ MCPForUnity/Editor/Windows/MCPForUnityEditorWindowNew.uxml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MCPForUnity/Editor/Windows/MCPForUnityEditorWindowNew.cs b/MCPForUnity/Editor/Windows/MCPForUnityEditorWindowNew.cs index 3987f112..39e8c156 100644 --- a/MCPForUnity/Editor/Windows/MCPForUnityEditorWindowNew.cs +++ b/MCPForUnity/Editor/Windows/MCPForUnityEditorWindowNew.cs @@ -24,6 +24,7 @@ private enum ConnectionProtocol } // Settings UI Elements + private Label versionLabel; private Toggle debugLogsToggle; private EnumField validationLevelField; private Label validationDescription; @@ -191,6 +192,7 @@ private void RefreshAllData() private void CacheUIElements() { // Settings + versionLabel = rootVisualElement.Q