Version Notice: This is the lite version with limited features. To unlock all of the features, get the full version here.
Compare versions here.
Unity Code Assist improves your coding experience with Visual Studio by adding more features for Unity projects. Coding Unity scripts becomes easier and more efficient and with fewer bugs.
Connect your game editor and IDE, let Unity and Visual Studio share data between each other. Enrich your coding experience with the new data available.
Features:
- Code Completion: More content for code completion (aka IntelliSense) which is specialized for common Unity APIs and your own projects.
- Inline Visuals: Displays visual information about your scene data and assets.
- Code Analyzers: Additional analyzers on top of the default ones (Microsoft.Unity.Analyzers), which are focused on memory and CPU utilization.
- Code Transformers: Apply common design patterns to your code base instantly.
- Generative AI: Use OpenAI ChatGPT or Google Gemini to complete or analyze your code.
Requirements: Unity 2020.2 and newer
Bug/error report & suggestions: Either use e-mail, GitHub, Discord, forum or Q&A here
Telemetry Notice: This extension may collect telemetry data about your use of the software for error tracking and usage metrics. Data is anonymous and telemetry can be disabled in the options if you have privacy concerns.
Generative AI Notice: Generative AI is one of the features of Unity Code Assist. If you have any ethical or legal concerns, you can use Unity Code Assist without this feature by disabling generative AI in the options.
You need an OpenAI or Google account and provide it's API key to this extension.
https://platform.openai.com/account/api-keys
https://ai.google.dev/gemini-api/docs/api-key
Provide key by one of the below (OpenAI ChatGPT)
- Create an environment variable called OPENAI_API_KEY with the API key
- Create a file with name .openai under user profile directory with the API key
- Set API key in Visual Studio options, Tools->Options->Unity Code Assist->Generative AI->Authentication
Provide key by one of the below (Google Gemini)
- Create an environment variable called GOOGLE_API_KEY with the API key
- Create a file with name .gemini under user profile directory with the API key
- Set API key in options, Tools->Options->Unity Code Assist->Generative AI->Authentication
This extension is free to use, but you may need to pay extra for OpenAI or Google services to use Generative AI feature.
https://openai.com/pricing
https://ai.google.dev/pricing