mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +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> |
||
---|---|---|
.. | ||
asset_loading.rs | ||
custom_asset.rs | ||
custom_asset_io.rs | ||
hot_asset_reloading.rs |