From 5a12c5d6778313c22143677cb001a66b244efc2d Mon Sep 17 00:00:00 2001 From: Tommy Li Date: Sun, 14 Dec 2025 02:11:38 -0600 Subject: [PATCH] fix: Depend on Screen Capture module for projects that manually disabled it --- MCPForUnity/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MCPForUnity/package.json b/MCPForUnity/package.json index 65813e592..7c55fabf1 100644 --- a/MCPForUnity/package.json +++ b/MCPForUnity/package.json @@ -7,7 +7,8 @@ "documentationUrl": "https://github.com/CoplayDev/unity-mcp", "licensesUrl": "https://github.com/CoplayDev/unity-mcp/blob/main/LICENSE", "dependencies": { - "com.unity.nuget.newtonsoft-json": "3.0.2" + "com.unity.nuget.newtonsoft-json": "3.0.2", + "com.unity.modules.screencapture": "1.0.0" }, "keywords": [ "unity", @@ -23,4 +24,4 @@ "email": "support@coplay.dev", "url": "https://coplay.dev" } -} +} \ No newline at end of file