-
Notifications
You must be signed in to change notification settings - Fork 251
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
Resources saved to res:// at runtime get reverted: Can't save SaveGame to res:// reliably #159
Comments
According to @nhydock this is due to a bug in the engine: saving Resources to |
What, you can't edit resources in inspector if they're in user://? |
This is all intentional within Godot as https://docs.godotengine.org/en/3.0/tutorials/io/data_paths.html Note that saving and loading does work with files in res:// within the editor right now as long as you save and load within the same run. However, any changes to the file system not performed by the editor will be reverted when you stop the running debug instance. |
godotengine/godot#24646 highlights the same issue we're having |
In this case wouldn't the best course of action would be to save resources to user:// after they are changed, and when loading check if they exist in user:// or else default to res:// ? |
@asheraryam The point was to save debug save files in res:// so we can edit them in the inspector |
No description provided.
The text was updated successfully, but these errors were encountered: