Closed ajerni closed 2 months ago
bevy = 0.13.1 and bevy_rapier2d = 0.25.0 trying to compile WASM seems to use rapier2d-0.18.0 and fails compiling:
bevy = 0.13.1
bevy_rapier2d = 0.25.0
rapier2d-0.18.0
Usingcargo build --release --target wasm32-unknown-unknown results in could not compile rapier2d (lib) due to 2 previous errors:
cargo build --release --target wasm32-unknown-unknown
could not compile rapier2d (lib) due to 2 previous errors
dyn PhysicsHooks cannot be shared between threads safely
Is this a known bug? Otherwise obviously a missing feature...
this solved the issue: https://github.com/dimforge/bevy_rapier/issues/315
bevy = 0.13.1
andbevy_rapier2d = 0.25.0
trying to compile WASM seems to userapier2d-0.18.0
and fails compiling:Using
cargo build --release --target wasm32-unknown-unknown
results incould not compile rapier2d (lib) due to 2 previous errors
:dyn PhysicsHooks cannot be shared between threads safely
Is this a known bug? Otherwise obviously a missing feature...