I am making a custom resource @tool that has a somewhat expensive calculation that is ran each time the exports change, and then the result is cached into an @export_storage, but since I am doing this like:
@export var padding: int = 8 :
set(val):
padding = val
if Engine.is_editor_hint():
refresh_final_asset()
the expensive calculation is ran every time godot starts since the 'load' runs this setter each time.
I can take care of it running once per variable by just debouncing the refresh call, but id rather make it not need to hit this every time i open the project, per asset.