![]() The scene viewer example doesn't run on wasm because it sets the asset folder to `std::env::var("CARGO_MANIFEST_DIR").unwrap()`, which isn't supported on the web. Solution: set the asset folder to `"."` instead. |
||
---|---|---|
.. | ||
bevymark.rs | ||
scene_viewer.rs |
![]() The scene viewer example doesn't run on wasm because it sets the asset folder to `std::env::var("CARGO_MANIFEST_DIR").unwrap()`, which isn't supported on the web. Solution: set the asset folder to `"."` instead. |
||
---|---|---|
.. | ||
bevymark.rs | ||
scene_viewer.rs |