Skip to content
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

GDextension can't access bin folder in projects due to Windows file locking limitations #65971

Closed
ash-hashtag opened this issue Sep 17, 2022 · 2 comments

Comments

@ash-hashtag
Copy link

Godot version

4.0 beta 1

System information

Windows 11

Issue description

Can't access bin folder when the project is open, can't write to it. so scons build fails, can't delete it and paste it either, says the folder is open somewhere. So the only way to compile the c++ code is closing the godot completely, and open again to test, you can compile it tho but to include/paste the bin in project you have to close godot.

Steps to reproduce

use gdextension, try to build when the project is open in godot

Minimal reproduction project

https://github.com/nathanfranke/gdextension/tree/main/project

@Calinou Calinou changed the title GDextension can't access bin folder in projects GDextension can't access bin folder in projects due to Windows file locking limitations Sep 17, 2022
@Calinou Calinou added the bug label Sep 17, 2022
@WildRackoon
Copy link

Indeed, GDNative had the reloadable property to prevent that, I am unsure what is planned to address this issue in GDExtension.
See GDNative Documentation

@akien-mga
Copy link
Member

I'll close this as duplicate of #66231 which covers this and some more considerations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants