mirror of
https://github.com/bevyengine/bevy
synced 2024-12-11 13:52:37 +00:00
4ff50f6b50
# Objective - Enabling the `debug_asset_server` feature doesn't compile when using it with `load_internal_binary_asset!()`. The issue is because it assumes the loader takes an `&'static str` as a parameter, but binary assets loader expect `&'static [u8]`. ## Solution - Add a generic type for the loader and use a different type in `load_internal_asset` and `load_internal_binary_asset` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |