2
PureCanvas Labs Docs
Unity 6000.0 LTS+

AI Game Assistant Documentation

Use AI directly inside the Unity Editor to ask development questions, generate C# scripts, explain errors, plan scene commands, refactor code, and create shaders.

Package Summary

PureCanvas Labs AI Game Assistant helps Unity developers speed up common production tasks without leaving the editor.

6Core workspace tabs
6000.0Unity version support
4AI provider options
1.0Initial release

Overview

PureCanvas Labs AI Game Assistant is a Unity Editor extension built to help game developers work faster with integrated AI tools. It is designed for scripting, debugging, planning, prototyping, and improving Unity workflows.

Unity Editor Tool C# Generation Error Help Scene Planning Shader Prompts

Requirements

Unity

Unity 6000.0 LTS or newer is recommended.

Operating System

Supports Windows and macOS editor environments.

Internet

Required for cloud AI providers. Local providers may work offline after setup.

Installation

  1. Open your Unity project.
  2. Import the PureCanvas Labs AI Game Assistant package.
  3. Allow Unity to compile the package assemblies.
  4. Open the assistant from the Unity menu.
Tools → PureCanvas Labs → AI Game Assistant
Note: After installation, configure your API key in Unity Preferences or Settings before sending AI requests.

Quick Start

  1. Open the AI Game Assistant window.
  2. Select your preferred AI provider.
  3. Enter your API key or local provider URL.
  4. Save your settings.
  5. Choose a tab such as Chat, Script Generator, or Error Explainer.
  6. Enter your prompt and generate a response.

Features

Chat

Ask Unity development questions directly inside the editor.

Script Generator

Generate C# scripts for gameplay, tools, UI, managers, and components.

Scene Commands

Plan scene changes such as cameras, lights, canvases, and object setup.

Error Explainer

Paste Unity or C# errors and receive explanations with suggested fixes.

Refactor

Improve readability, structure, naming, performance, and maintainability.

Shaders

Generate shader ideas and starter shader code for Unity projects.

AI Providers

The assistant is designed to support multiple AI providers so teams can choose the workflow that fits their project.

OpenAI

Recommended for general Unity help, code generation, and balanced performance.

Anthropic

Useful for detailed explanations, code review, and reasoning-heavy answers.

Google Gemini

A fast option for general AI assistance and development prompts.

Ollama

Run local models using a local endpoint such as http://localhost:11434.

Settings

Configure project defaults from Unity Project Settings and provider preferences from the assistant settings area.

Edit → Project Settings → PureCanvas Labs
  • Preferred AI provider
  • API key or local endpoint
  • Default model
  • Response settings
  • Project defaults

Example Prompts

Chat

Explain how Unity Addressables work in simple terms.

Script Generator

Create a reusable health component with damage, healing, max health, and UnityEvents.

Error Explainer

CS0246: The type or namespace name could not be found. Explain what this means and how to fix it.

Scene Commands

Create a basic third-person prototype scene with a camera, light, player capsule, and ground plane.

Troubleshooting

401 Unauthorized

Check that your API key is valid, active, and entered correctly.

No Response

Confirm your internet connection, provider settings, API key, and selected model.

Window Missing

Reimport the package, allow Unity to finish compiling, then restart Unity if needed.

FAQ

Does the assistant automatically change my project?

No. Generated content should be reviewed before you apply it to your Unity project.

Where are project defaults configured?

Project defaults are configured inside Unity Project Settings.

Can I use a local AI model?

Yes. Use Ollama or another supported local endpoint when available.

Which Unity version should I use?

Unity 6000.0 LTS or newer is recommended.

Release Notes

Version 1.0.0

  • Initial release
  • AI Chat
  • Script Generator
  • Scene Commands
  • Error Explainer
  • Refactor tools
  • Shader generation support
  • Provider settings

Support

For help with installation, setup, provider configuration, or package issues, contact PureCanvas Labs support.

support@purecanvaslabs.com

Please include your Unity version, package version, operating system, and any relevant Console errors.