Open brno32 opened 3 months ago
Make sure Godot exe isn't running before building.
In my case, it wasn't running.
In my case, it wasn't running.
Then yep, this is a bug. And it may not be easy to fix either.
Things to control for:
I'm not sure this is something that's on our end with the buildsystem, or something we can fix, unless there's something wrong in the way files are handled (which I don't see) this is some bug or quirk in the OS or similar, or in the compiler
This is either a false positive somewhere in the compiler, or an actual case of the file being used, in neither case can we solve it really, unless the compiler is incorrectly configured, if it's not a false positive then we shouldn't change anything, we shouldn't somehow fix compiling to a file that's in use if it actually is in use
I'd say the only way it could reasonably be an error in Godot would be if the process didn't shut down properly, but that might just have been a slow process and it was resolved after some time, but that would be hard to say exactly and might just be specifically because of a particular project etc.
Tested versions
System information
Godot v4.3.beta (e7859e9a4) - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 Laptop GPU (NVIDIA; 31.0.15.4630) - AMD Ryzen 7 5800H with Radeon Graphics (16 Threads)
Issue description
Sometimes when trying to compile godot, I get the following error:
Steps to reproduce
I cannot get it to happen reliably. The exact command I ran was:
venv/Scripts/scons dev_build=yes
Once I got the error, I was stuck and every compilation gave the same result. I unblocked myself by deleting
bin\godot.windows.editor.dev.x86_64.exe
Minimal reproduction project (MRP)
N/A