Repository navigation
Troubleshooting
Look at the Agent Log first: the proc channel shows the command that started the agent and its errors, and acp shows the protocol messages.
-
"Command '…' not found": the editor started from the desktop doesn't inherit your shell's PATH (fnm, nvm, volta…). The harness also looks in the usual folders (
~/.local/bin,~/.nvm/…,/usr/local/bin,/opt/homebrew/bin…). If yournpxis elsewhere, put its absolute path in the profile's command. -
"The agent asks for authentication": use the sign-in buttons on the notice (see Getting started), or sign in with
claudein a terminal and click Retry. -
The first start takes long:
npxis downloading the adapter. The line above the composer says Connecting… meanwhile, and after a few seconds that the first time can take a minute.
The agent gets the path of the running editor's binary in $GODOT, in its instructions and in project_info, and a godot shim goes first in its PATH. If it still uses another one, remind it: "use $GODOT".
You hit your plan's window. Wait for the reset (the countdown shows when), or use Switch account in the One-shot screen during a One-shot (see One-shot → switching accounts). Outside One-shot, the dock shows Switch account next to the quota ring: another account of the same agent resumes the same session, another agent starts a new one.
Claude Code stops waiting for an HTTP tool after 60 seconds with no response. A call that takes longer than 2 seconds (a long run_scene or profile_run, a GDExtension build or test, or any call while its permission card waits for you) now answers as a stream with progress every 10 seconds, so it runs to the end. If you still see the error:
- you set a total limit with
MCP_TOOL_TIMEOUTor atimeouton the server: progress doesn't reset it, so keep it above 120 seconds, the longestrun_scene; - the client doesn't ask for progress: it gets a plain answer, and its own limit applies;
- the call ran for more than 30 minutes: it answers with an error, and the tool may still be running in the editor.
Godot reads every gamepad connected to the computer, even when another window has the focus, so a stick left tilted or drifting keeps the arrow actions pressed: the player walks, the UI focus jumps to another control, and a text field that got the focus doesn't take typing. Games the agent launches (run_scene, profile_run, the regressions, regression_cli.gd) ignore real gamepads; the gamepad events the agent sends still work. To play along with yours in a run the agent launches, ask it to pass real_gamepads: true. Games you run with F5/F6 still read your gamepads: unplug or recalibrate the one that drifts.
Open scenes without unsaved changes reload by themselves. A scene with unsaved changes is never overwritten: you get a notice with Reload scene instead.
Claude Code reports the plan quota with the first message of each session, so a new session shows grey rings until you send something. Sessions driven from Remote Control don't report it to the dock: their turns don't go through ACP. Other agents may never report it. The harness never estimates it, so without that information One-shot won't pause for quota.
Antigravity (antigravity-acp) writes its own run_workflow skill to skills/system/run-workflow/SKILL.md in the project folder every time a session opens, before you send anything. The adapter has no option to put it elsewhere, so you can delete it, but it comes back. The dock warns you the first time in each project. Add skills/system/ to your .gitignore so it isn't committed. Godot doesn't export it: it is not a resource.
| Version | What happens | How the addon handles it |
|---|---|---|
| 4.7 |
EditorDock exists, but the main screen as a dock arrives in 4.8. |
Dock and panel use EditorDock; the main screen uses the old API. |
| 4.7.2 | Saving with preview (Ctrl+S) can print an engine error (p_I->data != this in list.h); in a project without the addon it appeared on every save. In sessions where an agent was changing the project, the editor sometimes crashed a moment after saving; without the addon that crash was never seen, and that it comes from this error is likely but not confirmed. |
The addon's own saves (save_scene, and saving before an update) skip the preview. Ctrl+S is the editor's: the addon can't change it. 4.8-beta2 and 4.8-beta3 still print the error; 4.8-beta2 didn't crash in 12 runs. |
| 4.8 (betas) |
_has_main_screen() leaves an orphan EditorDock when disabling, and closing the editor with the One-shot screen active gives a focus error. |
The main screen uses add_dock; before closing, the editor switches to the 2D screen. |
Two known, harmless traces remain in exports: addon paths in uid_cache.bin, and the plugin in the enabled plugin list of project.binary.
Include the relevant lines of the Agent Log, your Godot version and the agent (and its version).
Copy diagnostic report…, in the dock's ⋯ menu or on the Agent Log's toolbar, gathers the basics for you: the addon and Godot versions, the operating system, which agent adapter and its version, where the connection with the agent was (connecting, ready, working, failed), why the session or the last turn failed (the process didn't start, it didn't answer, it exited, a plan limit…), whether the agent connected to the editor's MCP server and how many tool calls failed, and the One-shot phase. Each value comes from a fixed list, so it never carries paths, file names, conversation text, your email or account: an agent or MCP client the harness doesn't know shows as other. You see the report before copying it. Paste it in the issue's Diagnostic report field.