Trouble exporting (fail to write, file in use, locked or lacking permissions)
kingoftheconnors opened this issue · 2 comments
I try to export my game on Windows, but I get this error:
Unable to write to file 'C:/.../MyGame/addons/ggs/plugin_data.tres', file in use, locked or lacking permissions
After which my editor closes. Any idea what causes this?
After updating Godot to 4.1, it went away! Sorry for the bother!
Turns out there was another problem causing the error: One of my shaders was still using SCREEN_TEXTURE, even though the update to Godot 4.0 changed that to uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest;
. I'm guessing the error interrupted the export process, even though none of my scenes are using said shader. Even so, it's something to be wary of in the future, if anyone is having the same issue!