godot icon indicating copy to clipboard operation
godot copied to clipboard

adb.exe locks autoloaded scene files, which are open at editor startup

Open Lucky-Mic opened this issue 1 year ago • 1 comments

Tested versions

  • This problem is reproducible in 4.3 Beta3 (Godot_v4.3-beta3_win64.exe), but works in 4.2.2

System information

Windows 11 - Godot_v4.3-beta3_win64.exe

Issue description

The Android Debug Bridge (ADB.exe) locked autoloaded scene file(s) after starting godot. Killing this process unlock the file(s) and the file(s) can be saved.

Steps to reproduce

  • Open a global autoloaded scene file into the editor
  • Close Godot 4.3 Beta3
  • Open Godot and load the project
  • Try to save the script or scene of the open autoloaded scene and an error appeas "unable to save file"

Minimal reproduction project (MRP)

N/A

Lucky-Mic avatar Jul 24 '24 13:07 Lucky-Mic

I'm getting a bug similar to this occasionally in v4.3.stable.official [77dcf97d8] but I'm not sure how to reproduce yet. In my case, adb.exe is locking some specific scenes (not autoloads, just my main menu and the gameloop scene, and now suddenly one of my enemies).

  • Adb.exe runs automatically when I open my godot project and adb.exe locks these files.
  • Killing the adb.exe process doesn't resolve anything because it heals itself immediately and within a second or two it's locked these files again.
  • Closing Godot also closes adb.exe.

I'm not sure how much of the adb.exe behaviour is normal (re: starting automatically) but I can't figure out why it's locking these specific files.

tigwyk avatar Oct 05 '24 17:10 tigwyk

I am getting a similar bug. Very annoying. Terminating adb through task manager solves the problem, but it occurs again once I restart Godot. Would love a fix.

DPMakerQB avatar Oct 16 '24 17:10 DPMakerQB

^up

Tiruu avatar Jan 15 '25 20:01 Tiruu