-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
[3.x] Make binary resource loader utilize loaded external resources #81026
Conversation
1072a58
to
3347f7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can confirm what this PR fixes my bug!
Thanks! |
3347f7c
to
17d8c09
Compare
Doesn't that mean the code you added should be executed only if |
No. This variable is meant to hold external resources in a local cache between |
Thanks! |
The Binary Resource Loader would load external resources, like TSCN files, twice, and basically discard the first one. It always had a
resource_cache
property that got populated, but never actually utilized.When the no-cache flag wasn't being passed along, that issue wasn't noticeable besides longer loading times. Once it started being taken into account, it became noticeable (though it went under the radar until now.)
Fixes #80783