-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
Reload cached resources in runtime on file reimport #98710
Reload cached resources in runtime on file reimport #98710
Conversation
062048b
to
8f88aad
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.
The code looks good to me. But this should also get an approval from someone with more debugger knowledge
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.
Looks good overall, see my comment about the EditorFileSystem check.
I wonder if we should put the reload_cached_files
behind the live_debug
flag (i.e. synchronize scene changes), and thus also rename the message to live_reload_cached_files
and move handling to the live editor.
8f88aad
to
81cb765
Compare
I thought about that, but decided against it because that's not really a "scene change", and more of an asset data modification. |
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.
LGTM
Thanks! |
Closes #93629.
Sponsored By: 🐺 Lone Wolf Technology / 🍀 W4 Games.