mirror of
https://github.com/bevyengine/bevy
synced 2025-01-24 02:45:14 +00:00
91ff782439
# Objective Fixes #6780 ## Solution - record the asset path of each watched file - call `AssetIo::watch_for_changes` in `LoadContext::read_asset_bytes` --- ## Changelog ### Fixed - fixed hot reloading for `LoadContext::read_asset_bytes` ### Changed - `AssetIo::watch_path_for_changes` allows watched path and path to reload to differ ## Migration Guide - for custom `AssetIo`s, differentiate paths to watch and asset paths to reload as a consequence Co-authored-by: Vincent Junge <specificprotagonist@posteo.org> |
||
---|---|---|
.. | ||
android_asset_io.rs | ||
file_asset_io.rs | ||
metadata.rs | ||
mod.rs | ||
wasm_asset_io.rs |