You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[package]]
name = "bevy_asset"version = "0.13.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "50028e0d4f28a9f6aab48f61b688ba2793141188f88cdc9aa6c2bca2cc02ad35"
Relevant system information
Linux with an ext4 volume
What you did
I've setup an AssetProcessor for blender files and run a game with RUST_LOG=bevy_asset=trace and bevy features asset_processor,file_watcher,dynamic_linking enabled.
I was expecting bevy to notice the new experiment1.blend right away (the file does appear in the unprocessed directory and gets picked up if I restart my bevy app).
One important detail is that blender on save creates a backup with a blend1 extension.
Strace of blender file operations:
I think there in an issue in how file watcher handles what blender does to the file system, for some reason it does not pick up the creation and renaming of experiment1.blend@, which I assume is the temporary file blender creates for the save.
the log might also indicate that if messages from the fs event notify system are received in batches, then they are processed in reverse order (bevy first notices the blend1 file appears, and then sees the rename)
Thank you for maintaining this project, it is the greatest game engine I had the honor to work with! ❤️
The text was updated successfully, but these errors were encountered:
Looks like the issue is with notify-debouncer-full, the example code has the same behavior.
I'll make an issue there and close this one for now. For anyone running into this, I suggest a workaround of disabling the blend1 file creation backup Edit -> Preferences -> Save&Load -> Save Versions -> 0
Bevy version
from the lock file:
Relevant system information
Linux with an ext4 volume
What you did
I've setup an
AssetProcessor
for blender files and run a game withRUST_LOG=bevy_asset=trace
and bevy featuresasset_processor,file_watcher,dynamic_linking
enabled.What went wrong
When starting up the game, I see
then I save the blend file in blender this happens:
I was expecting bevy to notice the new
experiment1.blend
right away (the file does appear in the unprocessed directory and gets picked up if I restart my bevy app).One important detail is that blender on save creates a backup with a
blend1
extension.Strace of blender file operations:
Additional information
I think there in an issue in how file watcher handles what blender does to the file system, for some reason it does not pick up the creation and renaming of
experiment1.blend@
, which I assume is the temporary file blender creates for the save.the log might also indicate that if messages from the fs event notify system are received in batches, then they are processed in reverse order (bevy first notices the blend1 file appears, and then sees the rename)
Thank you for maintaining this project, it is the greatest game engine I had the honor to work with! ❤️
The text was updated successfully, but these errors were encountered: