Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
AI-ML Integration
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/15
loading
loading
loading
loading
loading
Easily add AI to your project without writing any code using the OpenAI API. Includes tools that add ChatGPT features that can answer any question and even write code for you. Save hours of your time!
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.1.23f1
Compatible
Compatible
Compatible
Description

📽️ Featured by CodeMonkey on YouTube: TOP 10 NEW Systems and Tools March 2023!


This asset integrates the OpenAI API and others into your project, allowing you to add AI functionality to your game and the Unity editor quickly and easily without requiring you to write any code!


In minutes you can have dynamically generated personalities and conversations with your NPC's in-game, or even have the AI generate and edit scripts in your project!


There are far too many use cases of the AI to list... the only limit is your imagination.


Current API Integrations:

  • OpenAI's GPT-4, GPT-4-32k, GPT-3.5-turbo (ChatGPT), and previous models like davinci and codex
  • OpenAI's Whisper API (speech-to-text)
  • OpenAI's Dall-E 2 API (text-to-image generation)
  • ElevenLabs API (generate AI voices with text-to-speech)

🤝 If you need support or have any questions, please join the community on Discord: https://discord.gg/nYmGSqYhr6


This asset is beginner friendly and supports Unity Visual Scripting!


To get you started, there are some AI tools included in the asset for you:


🛠️🛠️ Unity Editor Tools 🛠️🛠️

  • 🗣️Custom GPT AI Chat 🗣️ - This tool functions similarly to OpenAI’s own Chat by acting as your AI personal assistant that can answer any question you have. Unlike the official Chat, with this tool you can customize the settings to fine tune the responses you receive. By default, this tool is configured to act as a Unity game development expert, but you can change this in the settings to behave any way you'd like. It can even write scripts for you and save them directly into your project! It will even remember the messages you send it and keep context awareness when replying to you. Chat logs are saved to your project so you can load them later and resume past conversations, or just for your reference!

Here are some examples of requests you can make to the AI:


Examples:

How can I create a custom Unity Editor window that has a settings button, and when clicked it reveals 5 more settings?

Write me a Unity C# script that can be used as a loot table, rewarding the player with different items based on an assigned weight.

Help me come up with a backstory for my game. The main characters name should be John and he travels the world collecting elemental powers.




  • *NEW* 🖼️ Image Generator 🖼️ - Generate textures, sprites, artwork, and other images directly from the Unity editor and save the ones you like into your project! Save countless hours and resources on custom artwork by having the AI generate images for you!

  • 📝 Script Editor 📝 - This tool allows you to analyze any script in your project using AI, which will take into account whatever message you send it and respond back with suggestions. You can use this to debug scripts, enhance them, or make general changes. If you agree with the AI recommendations, you can choose to have it automatically update the file for you.

  • 🎨 Shader Generator🎨 - With this tool you can have the AI generate shaders for you! Simply describe the kind of shader your looking for and it'll write the code for you to review and then automatically apply it for you! Create shaders for your game using normal text prompts.

  • 🧠 Prompt Generator 🧠 - The key to getting great results from AI tools is to craft the perfect prompt. This tool will automatically generate a high quality prompt for you, just give it a brief description of how you want the AI to act and it’ll give you a prompt template you can edit and use in any other AI tool.

🎮🎮 Demo Implementations 🎮🎮


  • ⛅ Skybox Generator ⛅ - Change the skybox of the scene in-game using the OpenAI Dall-E 2 API! Included C# example script is well documented and commented to show you how to create AI generated images either in-editor or in-game! Create your own free-to-use skyboxes, materials, portraits, artwork, and more!

  • 🎤 Voice Chat 🎤 - Have a chat in-game with an AI using your voice hands-free! Audio is recorded using your microphone and then transcribed into text with the OpenAI Whisper API and sent to the GPT AI for a response, which is then converted into an AI generated voice using the ElevenLabs API! All code is well documented so you can easily get your own implementation up and running. This demo shows you how you can talk to the AI without any user input and get unique voice responses back! Choose from 9 default voices or use your own custom voices!

  • 💬 Dynamic Conversation 💬 - Have a chat in-game with an AI that can remember the contents of your conversation and respond with context. This demo shows how you can use AI to create NPC's and other characters in your game you can have conversations with, complete with an AI generated personality! This implementation was created without writing any code using Visual Scripting.

  • 🌎 Language Translation 🌎 - What if you had players from all around the world who want to communicate with each other but don't speak the same language? This implementation shows how you can translate text between any languages using AI. This implementation was created without writing any code using Visual Scripting.

Create your own AI implementations with the OpenAI API



Included documentation to guide you through writing your own scripts you can use to implement your own AI features.

Technical details

This is an unofficial OpenAI integration, I am not affiliated with OpenAI in anyway.

GPT AI Integration

(49)
431 users have favourite this asset
(431)
$25
Taxes/VAT calculated at checkout
140 views in the past week
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
4.0 MB
Latest version
1.7.2
Latest release date
May 12, 2023
Original Unity version
2022.1.23
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR