From cf45ec82ae4e3bb1829b6c49dc934f3318f6fed7 Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Thu, 18 Jun 2026 21:29:01 -0700 Subject: [PATCH] Add Unity AI Assistant package + editor settings migration Adds com.unity.ai.assistant 2.12.0-pre.2 (+ transitive com.unity.ai.inference 2.6.1 and the com.unity.dt.app-ui EditorBuildSettings config) to the package manifest/lockfile, plus the package's ProjectSettings/Packages/com.unity.ai.assistant/Settings.json. ProjectSettings.asset migrated serializedVersion 28->29 (new iOS thermal-FPS / Android system-bar fields) by the editor. Editor/package tooling only; committed separately from the class-switch dev tool to keep concerns isolated. Co-Authored-By: Claude Opus 4.8 (1M context) --- Packages/manifest.json | 2 + Packages/packages-lock.json | 45 +++++++++++++++++++ ProjectSettings/EditorBuildSettings.asset | 1 + .../com.unity.ai.assistant/Settings.json | 8 ++++ ProjectSettings/ProjectSettings.asset | 16 ++++--- 5 files changed, 67 insertions(+), 5 deletions(-) create mode 100644 ProjectSettings/Packages/com.unity.ai.assistant/Settings.json diff --git a/Packages/manifest.json b/Packages/manifest.json index 40a77f7ce..c7276711d 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -1,6 +1,8 @@ { "dependencies": { "com.coplaydev.unity-mcp": "https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main", + "com.unity.ai.assistant": "2.12.0-pre.2", + "com.unity.ai.inference": "2.6.1", "com.unity.ai.navigation": "2.0.13", "com.unity.charactercontroller": "1.4.2", "com.unity.cinemachine": "3.1.6", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index ceb933883..972fa7611 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -39,6 +39,39 @@ "source": "embedded", "dependencies": {} }, + "com.unity.2d.sprite": { + "version": "1.0.0", + "depth": 1, + "source": "builtin", + "dependencies": {} + }, + "com.unity.ai.assistant": { + "version": "2.12.0-pre.2", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.2d.sprite": "1.0.0", + "com.unity.mathematics": "1.3.2", + "com.unity.nuget.mono-cecil": "1.11.5", + "com.unity.modules.uielements": "1.0.0", + "com.unity.nuget.newtonsoft-json": "3.2.1", + "com.unity.modules.unitywebrequest": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ai.inference": { + "version": "2.6.1", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.burst": "1.8.17", + "com.unity.dt.app-ui": "1.3.6", + "com.unity.collections": "2.4.3", + "com.unity.nuget.newtonsoft-json": "3.2.1", + "com.unity.modules.imageconversion": "1.0.0" + }, + "url": "https://packages.unity.com" + }, "com.unity.ai.navigation": { "version": "2.0.13", "depth": 0, @@ -98,6 +131,18 @@ "com.unity.test-framework.performance": "3.2.0" } }, + "com.unity.dt.app-ui": { + "version": "2.1.7", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.androidjni": "1.0.0", + "com.unity.modules.uielements": "1.0.0", + "com.unity.modules.screencapture": "1.0.0" + }, + "url": "https://packages.unity.com" + }, "com.unity.entities": { "version": "6.5.0", "depth": 0, diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 96bdb3fbf..9557f219a 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -18,4 +18,5 @@ EditorBuildSettings: path: Assets/Scenes/SampleScene.unity guid: 99c9720ab356a0642a771bea13969a05 m_configObjects: + com.unity.dt.app-ui: {fileID: 11400000, guid: 1b1c20d82303e4b5781c3ef50ac1449f, type: 2} com.unity.input.settings.actions: {fileID: -944628639613478452, guid: 5aa62f6ed584c43b791e76f2fd31820f, type: 3} diff --git a/ProjectSettings/Packages/com.unity.ai.assistant/Settings.json b/ProjectSettings/Packages/com.unity.ai.assistant/Settings.json new file mode 100644 index 000000000..84a24e479 --- /dev/null +++ b/ProjectSettings/Packages/com.unity.ai.assistant/Settings.json @@ -0,0 +1,8 @@ +{ + "CustomInstructionsGUID": "", + "CheckpointEnabled": false, + "GitInstanceTypeValue": 0, + "CustomGitPath": "", + "CheckpointRetentionWeeks": 2, + "PlanExecutionPromptDismissed": false +} \ No newline at end of file diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 8fbbabeeb..c29502b32 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -3,7 +3,7 @@ --- !u!129 &1 PlayerSettings: m_ObjectHideFlags: 0 - serializedVersion: 28 + serializedVersion: 29 productGUID: 8651c8c52439f4592b5a1d6b6116c979 AndroidProfiler: 0 AndroidFilterTouchesWhenObscured: 0 @@ -65,10 +65,15 @@ PlayerSettings: useOSAutorotation: 1 use32BitDisplayBuffer: 1 preserveFramebufferAlpha: 0 + adjustIOSFPSUsingThermalState: 1 + thermalStateSeriousIOSFPS: 30 + thermalStateCriticalIOSFPS: 15 disableDepthAndStencilBuffers: 0 androidStartInFullscreen: 1 androidRenderOutsideSafeArea: 1 androidUseSwappy: 0 + androidRequestedVisibleInsets: 0 + androidSystemBarsBehavior: 2 androidDisplayOptions: 1 androidBlitType: 0 androidResizeableActivity: 1 @@ -200,6 +205,7 @@ PlayerSettings: tvOSTargetOSVersionString: 15.0 VisionOSSdkVersion: 0 VisionOSTargetOSVersionString: 1.0 + xcodeProjectType: 0 uIPrerenderedIcon: 0 uIRequiresPersistentWiFi: 0 uIRequiresFullScreen: 1 @@ -267,7 +273,6 @@ PlayerSettings: useCustomGradleSettingsTemplate: 0 useCustomProguardFile: 0 AndroidTargetArchitectures: 2 - AndroidAllowedArchitectures: -1 AndroidSplashScreenScale: 0 androidSplashScreen: {fileID: 0} AndroidKeystoreName: @@ -537,7 +542,6 @@ PlayerSettings: - m_BuildTarget: AndroidPlayer m_APIs: 150000000b000000 m_Automatic: 1 - m_BuildTargetVRSettings: [] m_DefaultShaderChunkSizeInMB: 16 m_DefaultShaderChunkCount: 0 openGLRequireES31: 0 @@ -719,6 +723,8 @@ PlayerSettings: switchMicroSleepForYieldTime: 25 switchRamDiskSpaceSize: 12 switchUpgradedPlayerSettingsToNMETA: 0 + switchCaStoreSource: 0 + switchCaStoreFilePath: ps4NPAgeRating: 12 ps4NPTitleSecret: ps4NPTrophyPackPath: @@ -828,7 +834,7 @@ PlayerSettings: webWasm2023: 0 webEnableSubmoduleStrippingCompatibility: 0 scriptingDefineSymbols: - Standalone: UNITY_BURST_EXPERIMENTAL_ATOMIC_INTRINSICS + Standalone: UNITY_BURST_EXPERIMENTAL_ATOMIC_INTRINSICS;SENTIS_ANALYTICS_ENABLED additionalCompilerArguments: {} platformArchitecture: {} scriptingBackend: @@ -836,6 +842,7 @@ PlayerSettings: Standalone: 1 il2cppCompilerConfiguration: {} il2cppCodeGeneration: {} + il2cppLTOMode: {} il2cppStacktraceInformation: {} managedStrippingLevel: {} incrementalIl2cppBuild: {} @@ -905,7 +912,6 @@ PlayerSettings: XboxOneXTitleMemory: 8 XboxOneOverrideIdentityName: XboxOneOverrideIdentityPublisher: - vrEditorSettings: {} cloudServicesEnabled: {} luminIcon: m_Name: