Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
6000.0.4f1 | Compatible | Compatible | Compatible |
2022.3.0f1 | Compatible | Compatible | Compatible |
2021.3.0f1 | Compatible | Compatible | Compatible |
2021.3.45f1 | Compatible | Compatible | Compatible |
2020.3.0f1 | Compatible | Compatible | Compatible |
Take your game development process to new heights with AI Toolbox:
- Write and edit code with the help of ChatGPT, Google Gemini or Microsoft Azure.
- Chat with an AI assistant about your project directly in Unity.
- Use ChatGPT at runtime in your game for dialogue, character stories etc.
- Generate textures and sprites in Unity Editor with DALL·E.
- Text-to-speech lets you convert any text into a spoken audio clip at runtime, in many languages.
- Speech-to-text transcribes audio into text in many languages, which is super useful for in-game commands etc.
- Use OpenAI's Moderation API to detect and classify toxicity in any user-generated content.
To generate code you can simply type a prompt describing a C# script, shader or UI Document you want to create. ChatGPT will use your prompt to generate the code, leveraging its advanced language understanding and generation capabilities. This streamlined process allows you to focus on the creative aspects of your project while reducing the time spent on manual coding.
Effortlessly modify existing scripts using ChatGPT: Simply right-click any script in the Project view, select "Edit C# Script with ChatGPT," and provide a description of the desired modifications. ChatGPT will intelligently analyze the existing script and apply the requested changes, streamlining your script editing process.
AI Toolbox also allows you to generate images (even seamlessly tileable ones) from text descriptions right in your Unity project using DALL·E, an advanced stable diffusion model. It can be used to generate textures, UI elements, logos, reference images, and more.
FEATURES:
🧩 Seamless Integration: Simply press the "Generate Script" button instead of the usual "Add Script" button in Unity. Then, type a ChatGPT prompt describing the C# script you'd like to add, click "Generate," and the script is automatically created and added to your project.
🤖 AI-Powered Script Generation: Powered by OpenAI's ChatGPT, Google's Gemini or Microsoft Azure, this asset leverages advanced language understanding and generation capabilities to create accurate, functional, and contextually relevant C# scripts based on your prompts.
💬 "Chat with AI" tool: Talk with ChatGPT or Gemini directly in the Unity Editor separately from code generation. This is super useful to get further clarifications, ask which scripts are needed for a feature, explain a snippet of code, etc.
💰 Free Access: OpenAI gives each ChatGPT API user a limited-time free API quota that is enough to generate thousands of scripts. Plus, you can use Gemini free tier forever as long as you don't exceed the limits. Moreover, with Ollama you can run many LLMs locally completely unlimited.
✍️ Guiding Prompts System: Benefit from our carefully crafted prompt system, optimized for coding tasks and Unity-specific challenges, ensuring optimal AI-generated results.
🎨 Not just scripts! Generate textures and sprites with DALL·E, UI Documents for Unity's UI Toolkit and shaders right in the Unity editor! AI Toolbox helps with development on all fronts.
⚙️ Runtime usage: Use ChatGPT in shipped games, not just in the Editor. You can use it for things like NPC dialogue, random character names, etc. All Unity build platforms are supported.
✨ Multiple generative API: It's not just ChatGPT, but also speech recognition (speech-to-text), speech synthesis (text-to-speech) and AI content moderation.
⬆️ Continuous updates: AI Toolbox gets regular updates to ensure compatibility with the latest versions of Unity, as well as improvements to the AI model's performance and accuracy.
📖 Elaborate online documentation: If you've got issues or questions, most likely they are already answered in the ever-expanding online documantation.
🤝 Fast and friendly support: Join our community of developers to share your experiences, get tips, and receive help with any questions.
✅ NEW FEATURES ✅
- New! We've added Ollama support! Now you can run popular LLMs like Llama and Gemma locally for free!
- We've added support for Microsoft Azure OpenAI Service! It makes ChatGPT even more accessible.
- Added support for Google Gemini! It is available for all Editor tasks, including code generation and freeform chat. In our tests Gemini produced outstanding results for Unity-related topics. Plus, it's super cheap and includes a $300 free credits.
- Aadded support for the latest ChatGPT model GPT-4 Turbo (1106-preview). This update greatly reduces the price of using GPT-4 and increases the size of scripts GPT can understand and generate.
- Added a "Follow-up" button that allows to conveniently iterate on code with ChatGPT. You can now ask for changes to code in the same window where it is generated.
- Added a "Chat with ChatGPT" window: this is useful to get further clarifications, ask which scripts are needed for a feature, explain a snippet of code, etc.
- Improved shader generation: there's now a preview of the generated shader, error detection, as well as follow-up functionality.
⚠️ CAUTION, PLEASE READ ⚠️
This asset works with both free and paid OpenAI accounts and proxy servers. If you are using a free OpenAI account, we recommend checking if you have remaining OpenAI usage quota before buying. To check, please enter a prompt in the OpenAI Playground. If you get an error, you probably have exhausted the free API credit and may need to set up a paid account in OpenAI Billing Overview. Please note that ChatGPT Plus is not related to purchasing API credits that are used in this asset. In our calculations, generating and editing one large script costs about $0.001 (one-tenth of a cent). Proxy servers also provide free API usage credits.
ChatGPT and DALL·E are a powerful tools for script and texture generation and can significantly aid in the game development process. However, it is essential to understand that the asset's ability to generate scripts and textures is limited by the current capabilities of the AI. It may not produce accurate or desired results in every scenario or for highly complex requirements. It is recommended to use this asset as a supplementary tool to streamline your development workflow, but not as a complete replacement for manual coding and design.
Please be aware that ChatGPT, being an ML model, may sometimes generate scripts that cannot be compiled and will show errors in the Unity Console. We've added a nifty feature making ChatGPT correct its own initial errors, which is pretty cool. While we strive to improve the accuracy and functionality of the generated scripts, we have no direct control over the AI's output. Please read our tips on writing good coding prompts.
Select a file to preview
Version 6.9.7(current)
Released: Apr 24, 2025
6.9.7
- Improved compatibility with Unity 2021.
6.9.6
- Removed the current free proxy server since the service has been cancelled. For a great and free option we recommend using Gemini's free tier.
6.9.5
- Added an ability to list all available models for ChatGPT and Gemini. Look for the "List available models" in the Project Settings/AI Toolbox.
6.9.0
- Added ability to specify custom models for all AIs, e.g. "gpt-4.5-preview" or "gemini-2.5-pro-exp-03-25". This is only available in Editor usage for now.
- Improved UI colors when used with the Unity light theme.
- General improvements and fixes.
6.8.3
- Improvements for OpenAI-like API proxy servers, e.g. LiteLLM.
6.8.2
- Improved error and warning handling when using Ollama.
6.8.1
- Improvements to Editor usage of Ollama.
6.8.0
- All new ChatGPT and Gemini models have been added to Chat with AI.
6.7.5
- Improvements to Editor usage of Ollama and other AI backends.
6.7.0
- New! We've added Ollama support! Now you can run popular LLMs like Llama, Gemma and Qwen locally for free!
6.6.0
- New! We've added Runtime DALL·E 3 usage. Now you can generate textures/images with DALL·E 3 in your shipped games.
- New! Added o1-preview and o1-mini model support to ChatGPT (both Editor and Runtime usage). Note: Only Usage Tier 5 API accounts have access to o1-preview and o1-mini API models, which are customers that have 30+ days of payment history and previously spent $1000 on the API. More info: https://openai.com/index/introducing-openai-o1-preview/
6.5.0
- Added ChatGPT model gpt-4o-mini for Runtime and Editor use.
6.4.1
- Added ChatGPT model gpt-4o for Runtime use, additionally to the existing Editor usage.
6.4.1
- Fixed ChatGPT model gpt-4o timing out in the Editor.
6.4.0
- We’ve added Gemini runtime usage! Now you can use Google Gemini models in your shipped games. Check out the Gemini Runtime page for more details.
- Added support for the new ChatGPT 4o model.
- Added support for the new Gemini 1.5 Pro and Gemini 1.5 Flash models.
- Fixed an issue where some assets could not be exported in Unity 6 Preview.
- Lots of UI improvements.
6.3.0
- Added Unity 6 Preview support.
- Fixed layout of input fields in the Chat with AI window.
6.2.5
- General UI improvements.
6.2.0
- Added gpt-4-turbo-preview model to the Editor and Runtime components.
- Included package manifest, now the dependencies should be imported automatically.
- Improved the UI of Editor messages.
6.1.0
- Fixed a problem where script generation expects an API key that has been removed.
- Improved performance of syntax highlighing.
- Fixed and error showing up when RemoteConfig is imported.
6.0.0
- New! Text-to-speech (TTS) and Speech-to-text have been added to AI Toolbox as well as respective demo scenes for both of these services.
- New! We added support for Moderation — the AI-driven profanity filter for runtime applications. Please find the included demo scene to get familiar with this feature.
5.1.0
- New! We have added the latest Google AI model - Gemini Ultra. It can now be used alongside Gemini Pro, as well as the models from OpenAI and Microsoft Azure.
- We have greatly simplified the set up of Google Gemini in AI Toolbox. Now it is as simple as generating and pasting an API key.
5.0.0
- New! We have added Microsoft Azure as an optional backend to ChatGPT. Azure is now fully integrated with AI Toolbox and available in code generation and freeform chat. See the set up instructions in our documentation.
- AI backend configuration UI impromevents.
4.8.0
- Added UI to export the current conversation with AI to a text file.
- General usability improvements.
4.7.0
- New! We have added Google's latest generative model - Gemini. It is now fully integrated with AI Toolbox and available in code generation and freeform chat.
4.6.5
- Fixed "Generate Component" button not appearing after domain reload.
- Unity UI integrated buttons now reflect currently selected chatbot: ChatGPT or Bard.
4.6.0
- Improved integration with Google Cloud SDK for setting up Bard.
4.5.0
- Added support for the latest ChatGPT models: GPT-4 Turbo (1106-preview) and GPT-3.5 Turbo. This update greatly reduces the price of using GPT-4 and increases the size of scripts GPT can understand and generate. Read full details on the OpenAI Blog.
4.3.0
- Improved integration with custom proxy ChatGPT servers.
4.2.0
- Exposed ChatGPT Service methods. Now you can use ChatGPT in your own Editor scripts (additionally to the existing Runtime API).
- Fixed URL suffix when using a custom endpoint.
4.1.5
- Improved handling of leading and trailing text when parsing code.
4.0.3
- Added controls to easily switch between ChatGPT and Google Bard independent of their configuration state.
4.0.2
- Fixed a rare bug that caused the last received token to not be included in the produced script. Most often this was a closing bracket of a script or a namespace.
4.0.0
- Switched the free Proxy Server API to the latest version.
3.9.5
- Improved Google Bard configuration for script generation and freeform chat.
3.9.0
- Switched the default ChatGPT model versions to the latest for GPT-3.5 and GPT-4.
- Freeform chat UI improvements and more options in the chat settings.
- Improved suggested action buttons on script generation errors.
3.8.0
- Fixed and issue where DALL·E image generation window was sometimes greyed out.
3.7.5
- Improved OpenAI API error handling.
- Added suggested actions for the most frequent errors returned by ChatGPT API.
3.7.0
- Improved Guiding Prompts for C# code generation.
- General availability of gpt-4 model.
- General UI improvements.
3.6.0
- Updated Guiding Prompts for C# code generation, improving the quality of code generated with the latest ChatGPT model versions.
3.5.5
- General availability of gpt-4 model.
- General UI improvements.
3.5.0
- Improved code generation syntax highlighting.
- Added suggestions for best settings for editing large files.
3.4.0
- We've added options to select sub-verisons of ChatGPT's GPT-3.5 and GPT-4 models. Also, we've changed the default version used in code generation to the versions that work best for Unity code generation.
- General UI improvements.
3.3.0
- Added an option to use the model gpt-3.5-turbo-16k that can work with much longer code. It allows 4 times more context, handling up to 20 pages of text/code in a single request.
3.2.5
- Optimized the number of tokens used in chat with AI.
- Freeform chat UI improvements.
3.2.1
- Added the "Generate Component" button to prefabs in the Project view.
3.2.0
- Added an ability to submit code files when chatting with AI. Now you can talk about any code in your project, asking for possible improvements, bug fixes, code explanations or anything else. To get you started, we've added convenient buttons for the most common use cases.
3.1.0
- Added code syntax highlighting with dark and light color themes.
3.0.0
- We've added experimental support for Google Bard. Now for any question or script you can use both ChatGPT and Bard! Check out Bard Setup Guide for more details.
- Improved error reporting with more actionable steps.
Read release notes of the older releases: https://ai-toolbox.dustyroom.com/release-notes
Original
Released: Mar 28, 2023
- Content submitted is professionally designed and constructed. All assets are suitable for use in a development pipeline.
- Packages do not throw any generic errors after setup is complete. Any errors present in the product are only those that are from caught and handled exceptions.
- Submissions are no more than 6GB in size.
- Submissions do not have functionality implemented to track or collect a user’s data.
- The asset will be tested on the most recent publicly available version of Unity and is required to meet all of our standards in that version of Unity or whichever version(s) the content is explicitly stated to be intended for.
- You can read the full Asset Store submission guidelines here
AI Toolbox with ChatGPT, DALL·E, Whisper, Gemini etc
