Troubleshooting the Intrigues tools
Find what you see in the list. Each section says what it means and what to do. Do not ask Claude to retry the same failing call more than once.
| What you see | Go to |
|---|---|
| Claude has no Intrigues tool | No tool is listed |
| Unity lists a client as pending | A client is waiting for approval |
Unknown error |
The answer is Unknown error |
| The answer comes from the wrong project | Several Unity editors are open |
| The project does not compile | Compile errors |
| A call is refused in Play mode | Play mode and compiling |
X-DATABASE, X-PACKAGE-DATABASE |
Database problems |
X-PATH, X-NOT-FOUND |
Path problems |
N-CONFIRM, N-EXISTS |
Questions Claude must ask you |
intrigues_scheme_report shows nothing, or no log |
The scheme report |
Another X- code |
Other codes |
First, ask for the status
Section titled “First, ask for the status”Whatever is wrong, one call tells the most. Ask Claude to call intrigues_status. If it answers, the connection works. Read these parts of the answer:
projectPathsays which Unity project answered.editor.compilingandeditor.playingsay whether Unity is busy.adapterssays, for each route, whether its package is installed (package), the adapter is compiled (compiled) and it is switched on (enabled). The Unity route also haspreview.databasesays which database it would use, anddatabaseCandidateslists the choices when none was chosen.
No tool is listed
Section titled “No tool is listed”Claude has no tool that ends in intrigues_status, or no execute_custom_tool.
On Unity’s own MCP (the Unity route)
Section titled “On Unity’s own MCP (the Unity route)”- The package
com.unity.ai.assistantmust be installed, in a version Intrigues supports. The Intrigues adapter compiles for a 2.x version from 2.7.0-pre.3, and not for 3.0.0. - Choose Tools > MrW > Intrigues > AI > Enable Unity MCP Tools (Preview). The Unity route is a preview, and its adapter is not compiled until you do.
- Open Tools > MrW > Intrigues > AI and check that Unity MCP Tools (Enabled) is checked.
- Let Unity finish recompiling.
- Open Project Settings > AI > Unity MCP Server and look at the Intrigues tools. They are on once the adapter is compiled, unless you unticked one there. If
intrigues_statusis listed butintrigues_applyis not, tick that tool. - Start a new Claude session so it loads the tool list.
On MCP for Unity (the Coplay route)
Section titled “On MCP for Unity (the Coplay route)”- The package
com.coplaydev.unity-mcpmust be installed, in a 10.x version from 10.3.0. The Intrigues adapter does not compile for 11.0 or later. - In Unity, open Window > MCP for Unity. The server status must show that it is running. It needs Python and uv; the window offers to install what is missing.
- In the same window, select your client and register MCP for Unity with it. Start a new Claude session, and keep Unity open.
- If
execute_custom_toolanswers “unknown tool” forintrigues_status, Unity has not compiled the Intrigues adapter. Wait until compiling ends and try once more. If a refresh tool is listed, call it first. - If it is still unknown, check Tools > MrW > Intrigues > AI > MCP for Unity Tools (Enabled). It must be checked.
- MCP for Unity hides some of its tools until you switch their group on. If part of its tools are missing, ask Claude to list the groups with
manage_toolsand activate the one it needs. Claude tells you which group it switched on.
With no connection at all
Section titled “With no connection at all”You can still check and apply a draft by hand. Use Tools > MrW > Intrigues > AI > Validate Draft File… and Apply Draft File…. Claude can write the draft, and says it is not checked and not applied.
A client is waiting for approval
Section titled “A client is waiting for approval”On Unity’s own MCP, Unity may list the client in Project Settings > AI > Unity MCP Server as pending. If a client is listed as pending, choose Allow. Unity’s own code blocks only clients you explicitly denied. In the recorded test, Allow was pressed once; the failures before it had another cause (see The answer is Unknown error).
The answer is Unknown error
Section titled “The answer is Unknown error”Over Unity’s relay, Claude sees this:
{"success": false, "error": "Unknown error"}This is a real answer, recorded on Unity 6000.0.85f2 with com.unity.ai.assistant 2.23.0-pre.1 on 2026-12-02.
What it means. It was not a missing approval. The relay passes on only four fields of a tool’s answer: success, message, error and data. An older Intrigues adapter answered with its own fields, so the relay showed Unknown error for every call.
What to do. Update Intrigues: the current adapter wraps the report in those four fields. Until you can, check and apply drafts with the menu: Tools > MrW > Intrigues > AI > Validate Draft File… and Apply Draft File…. With the current adapter an error answer carries the whole report under data, and the problems with their codes are in data.problems. See Results: what a call returns.
Several Unity editors are open
Section titled “Several Unity editors are open”If two Unity editors are open, a call can reach the wrong one. The answer then describes a different project than the one you mean.
- Ask Claude to call
intrigues_statusand readprojectPathin the answer. It names the project that answered. - If it is the wrong one, tell Claude which project you mean, and ask it to pass the instance every time.
- On MCP for Unity, you choose the instance with the server’s own tools. Its instructions say to call
set_active_instancewith the exact name and hash of the instance, or to passunity_instanceon a single call. - On Unity’s relay, a client names the editor when it starts the relay, with the editor’s process ID or the project path. The record of the test run used
--instance-id <editor pid>or--project-path <path>.
Do not apply a draft until projectPath is the project you mean.
Compile errors
Section titled “Compile errors”The tools run inside the editor. While the project has compile errors, nothing of them changes.
- Open the Unity Console and read the first errors.
- Errors in your own scripts are yours to fix. Claude can help as with any code.
- Errors in
Assets/MrW/Intrigues/Editor/Authoring/Mcp/after you updated an MCP server package: switch that adapter off with its compatibility switch (MCP for Unity Tools (Enabled) or Unity MCP Tools (Enabled)). Then use the other route, or the menu. The switch only keeps the project compiling. It is not a permission.
Play mode and compiling
Section titled “Play mode and compiling”| Code | What it means | What to do |
|---|---|---|
X-PLAYMODE |
Apply and scene objects are refused in Play mode, or when Play mode is about to start. | Stop Play mode. Validate, export, inventory, catalog, status and open still work. |
X-COMPILING |
Unity is compiling scripts. | Wait until it finishes, then ask for intrigues_status again. |
X-TEST-RUN |
A test run plays in the Studio. | Stop the test run. Validate still works. |
Database problems
Section titled “Database problems”| Code | What it means | What to do |
|---|---|---|
X-DATABASE |
No database could be chosen, or the one named is not an Intrigues database below Assets/. |
If several databases exist, tell Claude which one. It passes the path as database in every call. With none, create one: Create > MrW > Intrigues > Database, then assign it to the Intrigue Manager. |
X-PACKAGE-DATABASE |
The database is the Demo or the Example, which ship with Intrigues. | Duplicate the asset, move the copy out of the Intrigues folder, and pass its path. Only if you insist, Claude passes allow_package_database: true. |
Path problems
Section titled “Path problems”| Code | What it means | What to do |
|---|---|---|
X-PATH |
A path the tool refused to read or write. | Use absolute paths built from workFolder in the status answer. A draft must be a .json file below IntriguesAI/, at most 2 MB. |
X-NOT-FOUND |
A file the call names does not exist. | Check the path. |
X-DRAFT-TOO-LARGE |
A draft passed as text is longer than 200,000 characters. | Claude splits the work into several drafts: definitions first, then one draft per scheme. |
X-FILE-KEPT |
An existing export was edited, so it was kept. | Nothing. The new export has a numbered name. |
Questions Claude must ask you
Section titled “Questions Claude must ask you”| Code | What it means | What to do |
|---|---|---|
N-CONFIRM |
The draft changes something Intrigue Drafts did not make, that you edited since, or that it cannot fully describe. | Answer Claude’s question. Only after your yes does it pass the items in confirm. |
N-EXISTS |
A scheme, clan or family with this name already exists, or a definition created with "mode": "create". |
Pick a new name, or let Claude replace its own earlier version. |
The scheme report
Section titled “The scheme report”intrigues_scheme_report reads a game that is playing. Most problems with it are about what is running, not about the connection.
| What you see | What it means | What to do |
|---|---|---|
playing: false, no schemes, and the information line N-NOT-PLAYING |
The game is not playing, or is still starting. This is not an error. A test run in the Scheme Run panel is not Play mode. | Press Play, start a scheme, and ask again. |
X-NO-SUCH-SCHEME |
No scheme has the name you gave. The answer suggests names. | Use a suggested name, or the scheme’s ID. |
N-NO-RUNS |
No run is listed. If N-RUNS-HIDDEN is there too, schemes run but no player takes part in them. |
Start the scheme in the game, ask for another scheme, or ask for all_runs: true. |
X-NO-SUCH-ACTOR |
No actor has the name you gave. A name that two actors share matches none. | Use the actor’s ID, or id:<id>. |
N-RUNS-HIDDEN |
Runs were left out because no player takes part in them. | Ask for all_runs: true to list them. |
| A run with an empty log and a note that it keeps no log | A log is kept for a run a player takes part in, or for a scheme whose setting Always keep a log is on. | Turn on Always keep a log in the scheme’s settings, or play a part in the run. |
X-OPTIONS |
A parameter was unknown, lines was not a whole number, scheme or actor was not text, or all_runs was not true or false. A lines outside 0 to 50 is cut to the nearest limit, with a warning. |
Use only the parameters the tool lists. See The nine Intrigues tools. |
Other codes
Section titled “Other codes”| Code | What it means | What to do |
|---|---|---|
X-OPTIONS |
A parameter was wrong or unknown. On MCP for Unity, an unlisted parameter is ignored with this warning. | Use only the parameters the tool lists. See The nine Intrigues tools. |
X-SELECTOR |
A selector cannot be read or names nothing, or intrigues_open got several parts. |
Use scheme:<name>, clan:<name>, family:<name>, node:<id>, actor:<name> or page:<page>, one at a time. |
X-NO-SCENE |
The active scene was never saved, so actor objects cannot go into it. | Open the game scene, or save the new scene once. |
X-IO |
Reading or writing a file failed. | Check that the folder can be written, then try again. |
X-REQUEST |
A request file (the menu channel) cannot be read or names an unknown operation. | Write a new request.json with a known operation. |
X-MANIFEST |
The manifest of what apply made could not be read or written. | The draft was applied. Look at IntriguesAI/manifest.json. |
X-BACKUP |
A backup could not be written, so apply stopped before it changed anything. | Check that the folder IntriguesAI/backups can be written, then apply again. |
X-EXCEPTION |
An error inside Intrigue Drafts. The call changed nothing. | Read the Console and report it with the draft. |
X-NOT-BUILT |
A part of Intrigue Drafts is missing from the installation. | Import the whole Intrigues package again. |
X-ADAPTER-OFF |
The adapter’s compatibility switch is off. | Turn on its item in Tools > MrW > Intrigues > AI. Unity recompiles. |
X-MAIN-THREAD |
A server called a tool outside Unity’s main thread. | A problem of the adapter with that server version. Turn the adapter off and use the menu. |
Safety and consent, The nine Intrigues tools, Results: what a call returns.