bevy_mod_raycast icon indicating copy to clipboard operation
bevy_mod_raycast copied to clipboard

Deferred raycasting sometimes throws an error or panics when the window is closed

Open TimLeach635 opened this issue 1 year ago • 1 comments

It's possible to get into a situation where the raycaster throws an error when the window is closed. This doesn't affect gameplay, of course, but I'm seeing it in the logs and it's not ideal.

To reproduce, this happens every time I run the mouse_picking_deferred example, and close the window: image

This is probably quite minor, but it would be good if this didn't happen!

TimLeach635 avatar Sep 05 '24 11:09 TimLeach635