AI for Unreal Engine: How to Use AI to Make Games
Use AI to make games in Unreal Engine the safe way: plan Blueprints node by node, fix C++ and Python, try Epic's AI Assistant and MCP, and follow store rules.

Use AI in Unreal Engine as a tutor and helper, not as the builder. AI chat assistants can explain nodes, plan Blueprint logic step by step, and write or fix C++ and Python. Epic's own experimental tools can answer questions or even act inside the editor. AI cannot make a good game for you, and it often gets Unreal details wrong. This guide gives you a workflow that works, prompts to copy, the mistakes AI makes, and the safety and store rules to follow.
What AI can and cannot do in Unreal Engine
- Explaining a node, a setting or an error in plain words
- Turning an idea into a list of Blueprint nodes
- Writing and fixing short C++ and Python code
- Automating boring editor jobs, like renaming 200 assets
- Brainstorming names, quest text and store page drafts
- Knowing your exact engine version and project
- Telling Unreal 4 and Unreal 5 apart
- Making a game fun; only playtesting does that
- Fixing performance without real measurements
- Promising that generated art is safe to use
The biggest risk is not bad code. It is learning nothing. If you paste answers you do not understand, you cannot fix them when they break, and in Unreal they break often. Treat every answer as a draft from a fast but careless classmate.
Age rules and safety first
AI services have age limits, and they differ. As of November 2026, OpenAI's terms say ChatGPT users must be at least 13 and need a parent's permission if they are under 18. Anthropic's terms say Claude.ai users must be 18 or older. These rules change, so read the terms of any tool before you sign up, and ask a parent if you are unsure.
Never paste passwords, API keys (secret codes that unlock paid services) or account logins into an AI chat. Back up your project before AI changes any file. Version control such as Git is ideal, because it keeps every earlier version of your files. Read every script before you run it. If a tool can act on your computer, ask an adult to help set it up.
The AI tools you can use with Unreal
| Tool | What it does | Good for |
|---|---|---|
| Chat assistants (ChatGPT, Gemini, Copilot and others) | Answer questions in a browser or app | Learning, planning, fixing errors |
| Epic's AI Assistant (Unreal Engine 5.7+, experimental) | A panel inside the editor that answers questions, writes code and gives step-by-step help | Quick answers without leaving Unreal |
| Unreal MCP plugin (Unreal Engine 5.8+, experimental) | Lets an outside AI agent use editor tools directly | Repetitive level and asset tasks |
| Code assistants in your code editor | Suggest C++ as you type | Programmers working in C++ |
Epic's AI Assistant slides out as a panel inside the editor. Experimental features can move between versions, so if you cannot find it, check Epic's documentation for your engine version. Epic also offers the same assistant on its Epic Developer Community website. Both can be wrong too. Epic has said more AI features are coming in future versions, so expect these tools to change quickly.
A workflow that works
Good results come from a loop, not a single magic prompt. You stay in charge of the design, the AI speeds up the details.
- Plan first. Write one sentence describing the feature and how the player should feel. AI cannot decide what your game should be.
- Ask with context. Always include your engine version, Blueprints or C++, your template, and what you already have.
- Build it yourself in small steps, testing after each one.
- Paste the exact error. Copy the full message from the Message Log or Output Log instead of saying "it does not work".
- Ask for the why. When it works, ask the AI to explain each node. That is how the knowledge becomes yours.
The way you ask changes the quality of the answer. Compare these:
| Instead of | Ask like this |
|---|---|
| "My door doesn't work." | "UE 5.8 Blueprints: my door's Timeline plays, but the door does not rotate. Screenshot attached. What should I check first?" |
| "Make me an inventory." | "Plan a six-slot inventory in UE 5.8 Blueprints. Which Blueprint should store the items? Give me steps I can build and test one at a time." |
| "Fix this." plus 300 lines | "Here is the first error from my build log and the 20 lines around it. Explain the cause first, then suggest a fix." |
| "Write my game." | "Suggest three small mechanics for a two-minute level, and how I can test whether each one is fun." |
After you finish a feature, ask: "Quiz me with five questions about what I just built." If you can answer them, you really learned it. If not, you know exactly what to review.
Using AI to plan Blueprints node by node
Chat assistants cannot see or create the Blueprints in your project. They can describe them, which is still very useful. A good prompt names the version and asks for exact node names:
I'm using Unreal Engine 5.8, Blueprints only, Third Person
template. I want a pressure plate that opens a gate while
the player stands on it and closes it when they step off.
List the exact nodes in order, say which Blueprint each one
goes in, and how the pins connect. Only use nodes that exist
in UE 5.8. Explain each node in one sentence.
Then check the answer inside Unreal:
- Search every node name with right-click in the Event Graph. If one does not appear, untick Context Sensitive and search again.
- Still missing? The AI probably invented it. Reply: "That node does not exist in 5.8. What can I use instead?"
- Show it your graph. Most assistants accept screenshots. You can also select nodes, press Ctrl + C and paste them into the chat, because Unreal copies nodes as text. That text is long, so send only the part that matters.
New to nodes, pins and casting? Read Unreal Engine Blueprints for beginners first. AI answers make far more sense when you know the basics.
Using AI for C++ and editor Python
Fixing C++ that AI wrote
AI-written Unreal C++ often compiles but fails at runtime because of small engine rules. A classic: a function connected to an event with AddDynamic (Unreal's C++ way of saying "call this when that happens") must be marked UFUNCTION(). Without it, the event never reaches your code and Unreal logs a binding error.
// Coin.h (Unreal Engine 5): the overlap handler.
// UFUNCTION() is required for AddDynamic to work.
UFUNCTION()
void OnOverlap(UPrimitiveComponent* OverlappedComp,
AActor* OtherActor, UPrimitiveComponent* OtherComp,
int32 OtherBodyIndex, bool bFromSweep,
const FHitResult& SweepResult);
// Coin.cpp, inside BeginPlay(): connect the event.
// Trigger is the coin's UBoxComponent* collision box.
Trigger->OnComponentBeginOverlap.AddDynamic(
this, &ACoin::OnOverlap);
When C++ fails to build, give the AI the first error from the build log, not the last one. Later errors are usually side effects of the first.
Automating boring jobs with Python
Unreal can run Python scripts inside the editor. Turn on the Python Editor Script Plugin in Edit > Plugins > Scripting, plus Editor Scripting Utilities, which many scripts need, and restart. Then switch the command line in the Output Log from Cmd to Python, or use Execute Python Script in the File menu (some versions put it under Tools). This script renames every selected actor:
import unreal
# Rename the selected actors to Coin_01, Coin_02, ...
actors = unreal.get_editor_subsystem(
unreal.EditorActorSubsystem)
selected = actors.get_selected_level_actors()
for i, actor in enumerate(selected, start=1):
actor.set_actor_label(f"Coin_{i:02d}")
unreal.log(f"Renamed {len(selected)} actors")
Save your level before running any script. A script can change hundreds of things at once, and undo may not catch all of them. Epic's Python scripting page lists what is possible.
Letting AI work inside the editor with MCP
An AI agent is an AI that can take actions, not just answer. MCP (Model Context Protocol) is an open standard that lets AI agents use tools in other programs. Unreal Engine 5.8 added an experimental Unreal MCP plugin. With it, an AI agent can spawn actors, set up lights or create material instances for you.
- Back up first. Commit to version control or copy the project folder.
- Enable the plugins. In Edit > Plugins, enable Unreal MCP and All Toolsets, then restart.
- Start the server. Turn on Auto Start Server under Edit > Editor Preferences > General > Model Context Protocol, or type ModelContextProtocol.StartServer in the console.
- Connect your agent. In the console, type ModelContextProtocol.GenerateClientConfig followed by your app's name, or All. It writes the settings file for supported apps such as Claude Code, Cursor, VS Code, Gemini and Codex. These apps need their own accounts, often paid and with age limits, so set this step up with an adult.
- Start small. Ask for one clear job, such as "place a point light above every coin", then check the result.
Epic warns that the MCP server has no password protection and is not safe to expose beyond your own machine. Never open it to the internet. Agents can also run up paid usage quickly. In one published test with Unreal Engine 5.8, an agent built a simple level and a light switch. But it broke the player controls and often took 5 to 15 minutes per reply.
Epic's Unreal MCP documentation lists the current tools and settings.
What AI gets wrong about Unreal
AI learned from years of tutorials, and many of them are about Unreal Engine 4. Watch for these outdated answers:
| AI suggests | Unreal Engine 5 uses |
|---|---|
| Action and Axis Mappings, BindAxis | Enhanced Input: Input Actions and Input Mapping Contexts |
| Matinee for cutscenes | Sequencer |
| PhysX physics settings | Chaos physics |
| Cascade particle systems | Niagara |
| World Composition | World Partition |
| Hot Reload for C++ | Live Coding |
| Python EditorLevelLibrary | Editor subsystems such as EditorActorSubsystem |
| Unreal Engine Marketplace | Fab |
AI also invents node names that sound right, mixes up which Blueprint should own a variable, and forgets multiplayer rules such as "only the server changes the score". If your game is online, check its answers against our Unreal multiplayer guide.
AI art, assets and store rules
- Steam: when you submit a game, Valve's content survey asks about generative AI. You must disclose AI-made content that ships with the game and that players see or hear, such as art, sound and text. Content generated live while the game runs needs guardrails against illegal output. Valve says efficiency tools used behind the scenes are not the focus. Read the Steamworks content survey page.
- Fab: check the license and tags of every asset you download. Assets tagged NoAI must not be used as data for generative AI, so do not feed them to AI tools.
- Ownership: in some countries, including the United States, art made entirely by AI generally cannot be protected by copyright. Other people may be able to reuse it.
- Tool terms: check that the AI service allows commercial use of what it generates.
- No copying: do not ask for characters or art from existing games or a living artist's style.
Keep a simple list of what AI helped make. It makes store forms easy and shows players you are honest. For more on images, read how to make game art with AI, and for the bigger picture, how to make a video game with AI. You can see finished projects on our Unreal Engine indie games page.
FAQ
Can AI make an Unreal Engine game for me?
Not a good one. AI agents can now build simple rooms and basic Blueprints, but they struggle with controls, game feel and bigger systems. You still design, test and fix the game yourself.
Does Unreal Engine have a built-in AI assistant?
Yes, as an experiment. Unreal Engine 5.7 added an AI Assistant panel that answers questions, writes code and gives step-by-step help. Version 5.8 added the Unreal MCP plugin, which lets outside AI agents use editor tools.
Can ChatGPT write Blueprints?
It can describe Blueprint logic node by node, but it cannot place nodes in your project by itself. You build what it describes, then check every node name in the editor.
Which AI is best for Unreal Engine?
There is no single best one. Any major assistant can explain Unreal if you give it your version and details. Epic's own assistant is built around Unreal's documentation, so it is a good first stop for engine questions.
Do I have to tell Steam my game used AI?
Yes, if players see or hear AI-generated content such as art, voices or text. Using AI as a coding helper behind the scenes is not the focus of Steam's disclosure.
Is using AI for game development cheating?
No. Professionals use AI tools too. It only becomes a problem when you break store rules, use content you have no right to use, or hide AI content that players would care about.
Made something with your AI helper?
List your Unreal game free on Mutop100. Real players will tell you what works far better than any AI can.
List your game free