Plonq / bevy_rts_camera

RTS-style camera controls plugin for Bevy Engine
Apache License 2.0
60 stars 6 forks source link

It seems that modifying the drag key in the control will result in an error #26

Closed rendaoer closed 3 months ago

rendaoer commented 3 months ago
image image
Plonq commented 3 months ago

The line that is panicking is logical_viewport_size().unwrap(), and I cannot replicate it.

Can you please provide a minimal repro?

rendaoer commented 3 months ago

@Plonq minimal repro

  1. I used bevy_lunex and bevy_rts_camera
  2. I created a title interface and clicked it to jump to the game interface, then an error message appeared, but no error message appeared if I directly entered the game interface. Maybe it's not your problem, but I can't find the problem.
Plonq commented 3 months ago

I can't seem to trigger the bug using your repro. Is there anything special you did?

https://github.com/user-attachments/assets/9b5812c8-df85-4275-b603-77c7e6072f76