Fix for Unity error: "[Antigravity] Failed to open editor: The system cannot find the file specified" (or opening in Notepad)

Why it happens: The recent Antigravity update got interrupted while files were locked. The updater deleted the main executable and left all the new files stranded inside an underscore folder named _.

Also, make sure you don’t confuse “Antigravity.exe” (the agent chat app) with “Antigravity IDE.exe” (the actual code editor).

How to fix it:

  1. Press Windows Key + R, paste this in and hit Enter: %LOCALAPPDATA%\Programs\Antigravity IDE

  2. If you see a folder named _ (underscore), open it. Copy everything inside it and paste/overwrite directly into the main “Antigravity IDE” folder. (You should now see “Antigravity IDE.exe” back in that main folder).

  3. In Unity, go to Edit > Preferences > External Tools.

  4. Under “External Script Editor”, click Browse and select: %LOCALAPPDATA%\Programs\Antigravity IDE\Antigravity IDE.exe (Do NOT choose the one in the “antigravity” folder, it must be the “Antigravity IDE” folder).

Restart Unity or click inside the project window to refresh, and scripts will open properly again.

What the Antigravity devs should improve:

  1. Fix the updater fallback: If files are locked during a background update, the updater shouldn’t delete the old executable and leave the new files stranded in a temporary _ folder. It should either queue the replacement on restart or roll back safely.

  2. Stop the naming confusion: Having antigravity\Antigravity.exe (agent app) and Antigravity IDE\Antigravity IDE.exe (code editor) installed side-by-side in AppData confuses users, Windows shortcuts, and external tools like Unity and Unreal.

  3. Handle file arguments in both apps: If a user or IDE passes a file path to Antigravity.exe, it shouldn’t silently ignore it and just focus the window. It should open the file or hand it off to the IDE editor.

  4. Warn users about install path changes: Silent background updates shouldn’t alter installation folder structures without clear release notes or notifications, especially when third-party software relies on hardcoded executable paths.

Also, a refund for the model tokens spent to fix their mess up would be appreciated.

Hi @waterlego,

Welcome to the Forum, and thank you for sharing these recovery steps for Unity users on Windows.

  1. Antigravity App vs. Antigravity IDE & Repairing Windows Updates: Antigravity App is the standalone desktop agent application, while Antigravity IDE is the standalone code editor (Get started). On Windows, Antigravity IDE downloads updates in the background and prompts Restart to Update (or Install Update for system-wide installs). If a background update is interrupted while an external tool like Unity holds a file lock, you can also re-run the latest Antigravity IDE installer from antigravity.google/download to repair the installation in place.
  2. Updater & Executable Handling Feedback: We have shared your four suggestions—safer rollback/retry handling when files are locked during an update, clearer distinction between the desktop app and IDE executables, file-path argument handoff, and install path stability for external tools—with our engineering teams.
  3. Model Quota & AI Credits: Regarding your second post, baseline model quotas refresh automatically (every 5 hours on Google AI Pro/Ultra plans or weekly on Free plans; see Plans). If your request involves purchased AI credits or Google One billing, please reach out to Google One Support.