This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

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
  • 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.

Godot version 3.5
in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.