Neocortex Logo

Unity SDK

AI NPCs for Unity

Design a character in the browser, install the SDK from a git URL and talk to it in your scene. Text or voice in, text or voice out, on desktop, mobile and WebGL.

  • Free plan
  • No credit card
  • Unity, Unreal, Godot, Web SDK and Web API
Cora, the Neocortex AI character, waving hello
  • 5

    ways to integrate

    Unity, Unreal, Godot, Web SDK, Web API

  • 20+

    languages

    set per character

  • 10 s

    to clone a voice

    or design one from text

  • €0

    to start

    free plan and editor testing

Powered by Industry Leaders

CDG Booster ProgramTehnopol AI AcceleratorNvidia Inception ProgramMicrosoft Partner | Microsoft for StartupsAWS Partner | AWS StartupsCloudflare Startup ProgramFal AI Startup ProgramElevenLabs Grants
CDG Booster ProgramTehnopol AI AcceleratorNvidia Inception ProgramMicrosoft Partner | Microsoft for StartupsAWS Partner | AWS StartupsCloudflare Startup ProgramFal AI Startup ProgramElevenLabs Grants

Get started

From zero to a talking character in Unity

  1. 1

    Design your character

    Build personality, knowledge, emotion and actions in the visual editor, and test it in the browser.

  2. 2

    Install the SDK

    In Unity, open Package Manager, choose Add package from git URL and paste:

    https://github.com/neocortex-link/neocortex-unity-sdk.git
  3. 3

    Open a sample and talk

    Import one of seven sample scenes, add your API key and character ID, and press Play.

Requirements

  • Unity 6 (6000.0) or later
  • A free Neocortex account and API key
Read the Unity docs

What you get

Built for Unity developers

01

Seven sample scenes

Text chat, audio chat, actions, interactables, group chat, usage gating and a quiz show.

02

One microphone component

Works on desktop, mobile and WebGL, with permissions and device selection.

03

WebGL voice

A WebGL template brings browser microphone input to Unity, which it lacks by default.

04

Actions and interactables

Characters perceive tagged objects and return actions your game executes.

05

Emotion on every line

Drive facial animation and tone from each reply's emotion tag.

06

Usage gating

Meter how much each player can use, right from the SDK.

07

Next to your dialogue tools

Keep scripted branches in a tool such as Dialogue System for Unity, and let a Neocortex character answer what they never covered.

08

Story events

Send what already happened, like a finished quest, so the character knows the state of the game.

09

Hand-offs at checkpoints

Conversation Flows return a keyword at each checkpoint, which your code can use to start an authored scene.

How it works

Characters you design, not prompts you babysit

  • Personality, emotion, knowledge and world are nodes you connect, not prompts you rewrite.
  • Intents and actions turn what a player says into something your game does.
  • Test every character in the browser for free before it reaches your engine.
neocortex.link/dashboard/characters
Neocortex visual character editor: emotion, personality, knowledge, language and voice nodes connected to an agent in a world, with intents mapped to in-game actions

What Our Customers Say

Discover what creators are saying about building with Neocortex.

After trying several Smart NPC providers, I came across Neocortex while looking for a stateful conversational AI solution for our Virtual Education platform. Neocortex stood out and topped all our key considerations.

Vallikat Peethamber
Managing Director

Neocortex opened scalable solutions for our VR platform, letting us create scenarios that make training more immersive. Keeping AI agents within clear boundaries is hard, but Neocortex handles it very well and makes customization easy.

Ottó Farkas
IT Specialist / Project Manager

In classroom practice, Neocortex and its action-based mechanism provide students with an out-of-the-box way to bridge conversational agents into software and hardware-based interaction design workflows.

Hongming Li
Lecturer / Instructor

I found out about Neocortex while I was working on my final-year project, and the platform's ease of integration and accessibility enabled me to seamlessly implement smart NPCs in my application. Highly recommend it!

Angela Pellillo
Backend Developer

Neocortex was the first step in bringing LLM-powered NPCs into a real Unity3D prototype, fast-tracking development and growing my TikTok account from 0 to 4000 followers within a month!

Brandan Chen
Associate Game Producer

After trying several Smart NPC providers, I came across Neocortex while looking for a stateful conversational AI solution for our Virtual Education platform. Neocortex stood out and topped all our key considerations.

Vallikat Peethamber
Managing Director

Neocortex opened scalable solutions for our VR platform, letting us create scenarios that make training more immersive. Keeping AI agents within clear boundaries is hard, but Neocortex handles it very well and makes customization easy.

Ottó Farkas
IT Specialist / Project Manager

In classroom practice, Neocortex and its action-based mechanism provide students with an out-of-the-box way to bridge conversational agents into software and hardware-based interaction design workflows.

Hongming Li
Lecturer / Instructor

I found out about Neocortex while I was working on my final-year project, and the platform's ease of integration and accessibility enabled me to seamlessly implement smart NPCs in my application. Highly recommend it!

Angela Pellillo
Backend Developer

Neocortex was the first step in bringing LLM-powered NPCs into a real Unity3D prototype, fast-tracking development and growing my TikTok account from 0 to 4000 followers within a month!

Brandan Chen
Associate Game Producer

From idea to playable character in a weekend

Game-jam teams use Neocortex to put talking, acting AI characters into playable games within a single weekend.

Read a game jam story

FAQ

Neocortex for Unity: common questions

Which Unity versions does Neocortex support?

The Neocortex Unity SDK requires Unity 6 (6000.0) or later.

How do I install the Neocortex Unity SDK?

Open Package Manager, choose Add package from git URL and paste https://github.com/neocortex-link/neocortex-unity-sdk.git.

Does voice work in Unity WebGL builds?

Yes. Unity does not support microphone input in WebGL by default; the Neocortex SDK adds it through its WebGL template.

Can I run models locally in Unity?

You can prototype with open models running locally through Ollama in Unity. Studios can also run the Neocortex platform on their own infrastructure.

Can I use Neocortex with Dialogue System for Unity?

Yes, side by side in one Unity project. There is no official integration: a short script of your own starts Dialogue System conversations for scripted scenes and hands open talk to the Neocortex character.

Can a Unity character host a quiz?

Yes. NeocortexQuizAgent runs a quiz hosted by one of your characters from a question set you write in the dashboard, and the Quiz Show sample has it working. Question order, retries, hints and scoring are decided on the server, so a question grades the same way in your game and in the editor. Quizzes need a Team plan.

Can Neocortex import my dialogue database?

No. Characters are built in the Neocortex editor. You can upload the lore your writers already maintain to a knowledge base.

Does the Unity SDK work on Android and iOS?

Yes. The same NeocortexAudioReceiver records on desktop, Android, iOS and WebGL, and it handles the Android and iOS microphone permission prompt for you.

Do Unity conversations continue after the player quits?

Yes. NeocortexSessionManager saves a session id per character in PlayerPrefs, so the character picks up where it left off next time. Call CleanSessionID to start a fresh conversation.

Can several characters talk to each other in Unity?

Yes. NeocortexGroupDirector runs one conversation across several Smart Agents, decides who answers, and lets characters join or leave while it runs. A cast of two or more needs a Pro or Team plan.

Comparing tools?

How Neocortex compares for Unity teams

Talk to your NPC in Unity

Free plan, no credit card. Build a character in the browser and talk to it in minutes.