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:
-
Press Windows Key + R, paste this in and hit Enter: %LOCALAPPDATA%\Programs\Antigravity IDE
-
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). -
In Unity, go to Edit > Preferences > External Tools.
-
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:
-
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. -
Stop the naming confusion: Having
antigravity\Antigravity.exe(agent app) andAntigravity IDE\Antigravity IDE.exe(code editor) installed side-by-side in AppData confuses users, Windows shortcuts, and external tools like Unity and Unreal. -
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. -
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.