@@ -164,21 +164,15 @@ jobs:
164164 shell : bash
165165 env :
166166 UNITY_IMAGE : ${{ env.UNITY_IMAGE }}
167- ULF_OK : ${{ steps.ulf.outputs.ok }}
168167 run : |
169168 set -euxo pipefail
170- manual_args=()
171- if [[ "${ULF_OK:-false}" == "true" ]]; then
172- manual_args=(-manualLicenseFile "/root/.local/share/unity3d/Unity/Unity_lic.ulf")
173- fi
174169 docker run --rm --network host \
175170 -e HOME=/root \
176171 -v "${{ github.workspace }}:/workspace" -w /workspace \
177172 -v "$RUNNER_TEMP/unity-config:/root/.config/unity3d" \
178173 -v "$RUNNER_TEMP/unity-local:/root/.local/share/unity3d" \
179174 "$UNITY_IMAGE" /opt/unity/Editor/Unity -batchmode -nographics -logFile - \
180175 -projectPath /workspace/TestProjects/UnityMCPTests \
181- "${manual_args[@]}" \
182176 -quit
183177
184178 # ---------- Clean old MCP status ----------
@@ -194,14 +188,8 @@ jobs:
194188 shell : bash
195189 env :
196190 UNITY_IMAGE : ${{ env.UNITY_IMAGE }}
197- ULF_OK : ${{ steps.ulf.outputs.ok }}
198191 run : |
199192 set -euxo pipefail
200- manual_args=()
201- if [[ "${ULF_OK:-false}" == "true" ]]; then
202- manual_args=(-manualLicenseFile "/root/.local/share/unity3d/Unity/Unity_lic.ulf")
203- fi
204-
205193 mkdir -p "$RUNNER_TEMP/unity-status"
206194 docker rm -f unity-mcp >/dev/null 2>&1 || true
207195 docker run -d --name unity-mcp --network host \
@@ -216,7 +204,6 @@ jobs:
216204 "$UNITY_IMAGE" /opt/unity/Editor/Unity -batchmode -nographics -logFile - \
217205 -stackTraceLogType Full \
218206 -projectPath /workspace/TestProjects/UnityMCPTests \
219- "${manual_args[@]}" \
220207 -executeMethod MCPForUnity.Editor.MCPForUnityBridge.StartAutoConnect
221208
222209 # ---------- Wait for Unity bridge ----------
0 commit comments