Closed
Description
Bevy version
master
Relevant system information
m1 macos, compiling for wasm
What you did
(with wasm_server_runner
)
cargo run --example texture_binding_array --release --target=wasm32-unknown-unknown
open in browser and open javascript console
What went wrong
I expected to see this friendly error message: https://github.com/bevyengine/bevy/blob/main/examples/shader/texture_binding_array.rs#L41
Instead, I see two issues:
-
This example seems to require at least one additional feature:
TEXTURE_BINDING_ARRAY
-
bevy panics earlier than
setup
anyway, possibly when buildingMaterialPlugin::<BindlessMaterial>
Even when augmenting the feature gate with
TEXTURE_BINDING_ARRAY
, bevy panics before showing the error from the example