For some reason I can't modify then save a sub resource that's being stored within a parent resource's file?
It seems I can modify and successfully save my sub resources, I can even load the same sub resource again in the same function with no issues. However, as soon as I try and read it from another function it acts like the modification never happened.
- I was told in the Godot Discord this was caused by cache and I need
to load it with the ignore cache flag however this didn't solve the
issue.
- I was then told to save using the flag FLAGREPLACESUBRESOURCE_PATHS
again, no luck
- Finally I was told to set the resource_path of the parent resource to
"" before modifying it, again no luck.
If my code is needed to confirm the issue, please let me know.