You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-02-17T14:34:05.377797Z INFO bevy_ggrs_example: connecting to matchbox server: "ws://127.0.0.1:3536/bevy_ggrs?next=2"
2024-02-17T14:34:05.377909Z DEBUG log: Starting WebRtcSocket
thread 'main' panicked at /home/az/dev/matchbox/matchbox_socket/src/webrtc_socket/socket.rs:477:33:
called `Result::unwrap()` on an `Err` value: Closed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_ggrs_example::lobby_system`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!
Additional context
It works with wasm version
Last working version was v0.6.1
v0.7.0 doesn't panic, yet it's not working. It only shows the floor with a bright magenta
The text was updated successfully, but these errors were encountered:
I've been digging into this issue, and it goes away if the example is built with the bevy multi-threaded feature.
When digging, I also found the following:
WebRtcSocket::try_update_peers returned Err(ChannelError::Closed) even though the channel was neither dropped, nor closed. So it looks like a bug in futures_channel::mpsc::UnboundedReceiver, that it's not behaving as documented, though that seems somewhat unlikely. I'm not sure what to think.
In any case, the workaround is to add multi-threaded to the bevy features. Perhaps we should add it as a requirement for bevy_matchbox as well...
What
The example under
examples/bevy_ggrs
is broken.How to reproduce
Additional context
v0.6.1
v0.7.0
doesn't panic, yet it's not working. It only shows the floor with a bright magentaThe text was updated successfully, but these errors were encountered: