-
Notifications
You must be signed in to change notification settings - Fork 217
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
FS operations performed by blender yield confusing order of events from the debouncer #587
Comments
Maybe @dfaust has a faster answer what the debouncer logic does here. Would have to dig around first how we flatten this joyride of renames to have backups, especially with the timing here.
Hard to say what you would even want to get reported here. |
I'll have a look at it. My first thought is that the reported events should be:
|
Thank you! I'll be able to test it next week |
Unfortunately it does not seem to help. Here's the output with the patched version |
System details
Linux host 6.8.0-76060800daily20240311-generic #202403110203~1713206908~22.04~3a62479 SMP PREEMPT_DYNAMIC Mon A x86_64 x86_64 x86_64 GNU/Linux
rustc --version
:rustc 1.77.2 (25ef9e3d8 2024-04-09)
notify-debouncer-full v0.3.1
Cargo tree
Bevy asset system File watcher + asset processor get confused when blender saves a new file version bevyengine/bevy#13053
ext4 (rw,relatime)
What you did (as detailed as you can)
Run the example code, then open an existing file
test.blend
in blender and overwrite it with a new version.What I ran
What you expected
I expected to read a series of events that would indicate that the
test.blend
now contains the new data,as this is what bevy relies upon to reload the assets.
What happened
strace of blender saving a file
Result
The resulting list of events confuses bevy into thinking there is only the
.blend1
file, as the last event returned is the rename. Which is not what actually happens to the filesystem.Thank you for maintaining this ❤️ !
The text was updated successfully, but these errors were encountered: