-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
editor_doc_cache errors on editor startup #96798
Comments
I was able to setup an Android build for a simple test project but was not able to reproduce the errorwhere adb locks the file. The reason why this issue happens only for dev build is probably because the |
I finally was able to reproduce the problem... while not trying to reproduce it! I got the error 2 times and each time it's because I let my PC running without Godot running but with an adb.exe processing running in the background. The next time I load a Godot project I got the error. adb.exe process command line: My hypothesis right now is that this process is running in the working folder of the editor and for some reason adb locks files in the working folder at some point. I had to set Godot editor in self-contained mode to reproduce the error. One question is why adb.exe is still running if the setting to close it on exit is on. @KoBeWi Can you show me your Android export settings, Debug settings like "Small Deploy with Network FileSystem" and can you confirm that you are using self-contained mode for the editor? |
I'm using self-contained mode for my dev builds. My export preset uses default settings and I have small deploy disabled. |
I was finally able to reproduce the issue at each editor startup and found a workaround to the problem #97000 if you want to try it. |
Tested versions
4.4 97ef3c8
I've been seeing it for a few versions.
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
Sometimes when I open editor, I get "Unable to write file" error for editor_doc_cache. This also causes tmp files to accumulate in cache directory:
Also, not sure if related, but the dialog appears every time I save scene:
godot.windows.editor.dev.x86_64_EpKgM8KcXE.mp4
I noticed it only in dev builds and it seems random.
EDIT:
I tried deleting the file and seems like adb is owning it??
Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: