While going over the asset server with @TekhnaeRaav, he helped me realize that the asset server was responding to changed assets, triggering a forced asset reload, but then handing the asset change without waiting for the actual asset to be re-loaded.
|
match changed { |
|
ChangedAsset::Loc(loc) => { |
|
let handle = self.load_asset_forced(loc.as_ref()); |
|
pending_asset_changes.push(handle); |
My brain is only partially consuming this right now, but that definitely seems wrong.
While going over the asset server with @TekhnaeRaav, he helped me realize that the asset server was responding to changed assets, triggering a forced asset reload, but then handing the asset change without waiting for the actual asset to be re-loaded.
bones/framework_crates/bones_asset/src/server.rs
Lines 228 to 231 in 8240aea
My brain is only partially consuming this right now, but that definitely seems wrong.