Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

NetworkEvent::Error reports TurbulenceChannelError(IncomingTrySendError::Error(ChannelReceiverDropped)) #48

Open
starwolfy opened this issue Feb 9, 2022 · 0 comments

Comments

@starwolfy
Copy link

starwolfy commented Feb 9, 2022

When preparing like 33+ messages to be sent to the same handle in the same Bevy frame, NetworkEvent::Error and the plugin itself report the following errors:

ERROR bevy_networking_turbulence: Channel Incoming Error: channel receiver has been dropped

NetworkEvent::Error: TurbulenceChannelError(IncomingTrySendError::Error(ChannelReceiverDropped))

After this occurs the connection appears to be essentially dead.

An attempt of circumventing this issue by combining network message data so they become a single message to be passed to NetworkResource instead also has been in vain.
This makes me believe that this error is not caused by the number of messages, rather by the amount of information passed around in the connection. Once the server passes a certain amount of data to the client this issue consistently occurs.

What do I do to not run into this?

Reproduction project:
bevy_turbulence_error.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant