Skip to content
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

Not compatible with hot reloading of assets in bevy #39

Open
edraze opened this issue Apr 20, 2024 · 0 comments
Open

Not compatible with hot reloading of assets in bevy #39

edraze opened this issue Apr 20, 2024 · 0 comments

Comments

@edraze
Copy link

edraze commented Apr 20, 2024

Error occurs if Bevy has the "file_watcher" feature enabled.

Error:
thread 'main' panicked at .cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_asset-0.13.2\src\io\source.rs:493:18: Failed to create file watcher: Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] } stack backtrace: note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

Dependencies:
bevy = { version = "0.13.2", features = ["dynamic_linking", "file_watcher"] }
bevy-persistent = { version = "0.5.0", features = ["yaml"] }
os = windows

Expected behavior: if there is a change in persistence file(eg. manual change of file), the changes will be loaded by bevy asset hot reloading functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant