bevy_replicon
bevy_replicon copied to clipboard
Do not panic on invalid entity mapping inside events
I used panic because I thought that it's impossible to happen 😅 But forgot to take visibility into account. It was reported that sending an event that contains an entity that isn't visible for a client causes crash. I think we should ignore this event and change the panic into a warning.