GodotModding / GodotModding/godot-mod-tool

If the editor is not closed gracefully the `ModToolStore` is not saved to disk

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
3.x 4.x bug
Dominant language
GDScript
Stars
70
Forks
12
PR merge metrics
No merged PRs in 30d

Description

https://github.com/GodotModding/godot-mod-tool/blob/63e2e4cf108083494c545f3904ee5a78ee9d2bcd/addons/mod_tool/global/store.gd#L46-L48

`_exit_tree()` is not called if the editor crashes. This happens quite often when the editor is restarted via *Project* -> *Reload Current Project*.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading addons/mod_tool/global/store.gd around lines 46-48 and inspect how ModToolStore is currently saved from _exit_tree(). Investigate what happens during Project → Reload Current Project, then define a persistence path that still saves the store when the editor does not close gracefully. Done means the store is saved to disk in that scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.