bevy_replicon icon indicating copy to clipboard operation
bevy_replicon copied to clipboard

Do not panic on invalid entity mapping inside events

Open Shatur opened this issue 1 year ago • 0 comments

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.

Shatur avatar Jul 24 '24 15:07 Shatur