com.unity.ai.assistant 2.21.0-pre.1
PreviewNotes: processedReleased October 19, 2026
Download Options
Direct package downloads captured from Unity's package registry.
Unity Compatibility
Minimum Unity: 6000.0 (60f1)
Package Dependencies
- com.unity.2d.sprite (1.0.0)
- com.unity.mathematics (1.3.2)
- com.unity.modules.uielements (1.0.0)
- com.unity.modules.unitywebrequest (1.0.0)
- com.unity.nuget.mono-cecil (1.11.5)
- com.unity.nuget.newtonsoft-json (3.2.1)
Features
- Auto-approve unsafe operations setting that lets the agent run unsafe commands without the per-command approval dialog.
- The progress indicator shows "Compacting..." while the backend summarizes earlier conversation to free up context, instead of a silent "Preparing..." or "Reasoning..." for the tens of seconds it takes.
Improvements
- A comment-only line in the frontmatter no longer folds into a `description`. Inside a block scalar body a `#` is ordinary text.
- The attach-items popup now sizes to its content instead of holding a fixed minimum height (UUM-153900).
- `IToolInteractions` has a new `CanPromptUser` property reporting whether the surface can present an approval request to a user. It defaults to `false`, so existing implementations keep compiling.
- Updated the What's New banner content for the 2.21 release.
Bug Fixes
- "Refresh Project Overview" now shows an error in the Assistant Settings menu when it cannot reach the AI Assistant server, instead of only writing an exception to the Console.
- "Your organization does not have a subscription that includes AI" no longer blocks users whose organization can in fact use AI; the subscription signal is reported only once credits cannot be spent, a seat exemption passes the seat gate, and a confirmed subscription survives domain reloads.
- A `SKILL.md` `description` with a same-line value continued on indented lines folds instead of dropping the continuation
- A `SKILL.md` `description` written as a YAML block scalar (`description: >` or `description: |`) parses to its full text instead of the indicator character
- A quoted phrase inside a folded `description`, and a quote character that ends one, are left as written
- AI Gateway Codex sessions no longer fail with "Model not found gpt-5.2-codex"; the bundled Codex agent is now codex-acp 0.9.5, which defaults to gpt-5.3-codex (UUM-150162)
- AI Generator tiles no longer turn into grey squares after an image file is edited outside Unity, and they refresh when the Editor regains focus.
- Assistant documentation links now open the docs matching the installed package version instead of a hardcoded older version.
- Checkpoint Settings no longer shows a dangling "Git execution failed:" banner when a Git command fails without an error message.
- Checkpoint Settings no longer shows a dangling "Git not found:" banner when a custom Git path is left empty or whitespace-only.
- Conversation history rendering past the window edge, overlapping, or disappearing after updating the package with the Assistant window open
- Fixed compile errors and skipped GLB import settings when glTFast 7.0 is installed
- Long answers are no longer clipped in the chat after the Assistant window is narrowed.
- MCP clients such as Claude Code rejecting Unity tools and losing tool-call responses when a project sets a global `JsonConvert.DefaultSettings`
- NullReferenceException in Chat Window
- Profiler attachment chip tooltip now shows the full attachment name instead of "Profiler Data" (UUM-150810).
- Promoting a generated Cubemap to a new asset now creates a Cubemap instead of a 2D texture.
- RunCommand no longer force-closes Play mode on every call; read-only and safe commands run in Play mode, and any command that needs Edit mode asks before leaving Play mode.
- The attach-items popup no longer extends past the top of the Assistant window when the window is short. Its height is limited to the space above the prompt bar, so the search field and all of its tabs stay visible and clickable (UUM-153900).
- The unsafe-command approval prompt now shows the command title, the detected non-revertable operations, and the full script behind "View".
- The warning icons in the prompt bar no longer sit on a pale yellow chip that was barely distinguishable from the background in the Light Editor theme (UUM-153945).
- Tool call rows from external agents such as Codex ("MCP Tool: …", "Run Command") no longer show only the top half of their label in the Assistant window (UUM-156262).
