We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run any code containing egui-macroquad in the browser and press Ctrl+V while focused on the tab, this panic message shows up:
egui-macroquad
__rust_start_panic http://192.168.131.1:5500/test-macroquad.wasm:3429188 rust_panic http://192.168.131.1:5500/test-macroquad.wasm:3428830 _ZN3std9panicking20rust_panic_with_hook17h7f7102b82d51338fE http://192.168.131.1:5500/test-macroquad.wasm:3428782 _ZN3std9panicking19begin_panic_handler28_$u7b$$u7b$closure$u7d$$u7d$17hfa40135feb109919E http://192.168.131.1:5500/test-macroquad.wasm:3425999 _ZN3std10sys_common9backtrace26__rust_end_short_backtrace17haf21bfec9a028e09E http://192.168.131.1:5500/test-macroquad.wasm:3425785 rust_begin_unwind http://192.168.131.1:5500/test-macroquad.wasm:3427845 _ZN4core9panicking9panic_fmt17he4489d678d6570d5E http://192.168.131.1:5500/test-macroquad.wasm:3434746 _ZN4core6result13unwrap_failed17h9c69c0d7a98df92bE http://192.168.131.1:5500/test-macroquad.wasm:3462620 _ZN4core4cell16RefCell$LT$T$GT$10borrow_mut17hda5025488c241312E http://192.168.131.1:5500/test-macroquad.wasm:3295170 _ZN8miniquad6native4wasm4with28_$u7b$$u7b$closure$u7d$$u7d$17h7f08ef7c9a448612E http://192.168.131.1:5500/test-macroquad.wasm:3280304 _ZN3std6thread5local17LocalKey$LT$T$GT$8try_with17hf0d05f030ea6738bE http://192.168.131.1:5500/test-macroquad.wasm:3369544 _ZN3std6thread5local17LocalKey$LT$T$GT$4with17hc12f374a194061ffE http://192.168.131.1:5500/test-macroquad.wasm:3369039 _ZN8miniquad6native4wasm4with17h8863287470a1b6c5E http://192.168.131.1:5500/test-macroquad.wasm:3274382 _ZN8miniquad6native4wasm13clipboard_get17hbf8d39f335b462f6E http://192.168.131.1:5500/test-macroquad.wasm:3272280 NativeDisplay$GT$13clipboard_get17hc6454bcfbf2202b9E http://192.168.131.1:5500/test-macroquad.wasm:3272249 GraphicsContext$GT$13clipboard_get17hb44edb72a06f2e14E http://192.168.131.1:5500/test-macroquad.wasm:3348531 _ZN13egui_miniquad6EguiMq13get_clipboard17h6016c76bf0af6f31E http://192.168.131.1:5500/test-macroquad.wasm:48761 _ZN13egui_miniquad6EguiMq14key_down_event17h2ca14903404c9129E http://192.168.131.1:5500/test-macroquad.wasm:47925 EventHandler$GT$14key_down_event17hc7c25588739afaf7E http://192.168.131.1:5500/test-macroquad.wasm:36038 _ZN9macroquad18MiniquadInputEvent6repeat17hfa24844789bae264E http://192.168.131.1:5500/test-macroquad.wasm:19287 _ZN9macroquad5input5utils25repeat_all_miniquad_input17h1a1b5af7514cfa00E http://192.168.131.1:5500/test-macroquad.wasm:30493 _ZN14egui_macroquad4Egui2ui17h2c86c8cd94949edbE http://192.168.131.1:5500/test-macroquad.wasm:23726 _ZN14egui_macroquad2ui17h86968250b455441dE http://192.168.131.1:5500/test-macroquad.wasm:23612 _ZN14test_macroquad5amain28_$u7b$$u7b$closure$u7d$$u7d$17hef8740485354ed6dE http://192.168.131.1:5500/test-macroquad.wasm:15531 _ZN9macroquad4exec6resume17h76329c7429a85eb0E http://192.168.131.1:5500/test-macroquad.wasm:2478989 EventHandler$GT$4draw28_$u7b$$u7b$closure$u7d$$u7d$17h2facb320c6b511deE http://192.168.131.1:5500/test-macroquad.wasm:2724557 EventHandler$GT$4draw12maybe_unwind17h2bca6f1af35cf9d4E http://192.168.131.1:5500/test-macroquad.wasm:2724226 EventHandler$GT$4draw17h435660975f57fa95E http://192.168.131.1:5500/test-macroquad.wasm:2723501 _ZN8miniquad6native4wasm5frame28_$u7b$$u7b$closure$u7d$$u7d$17h495e9c0d0166300dE http://192.168.131.1:5500/test-macroquad.wasm:3279250 _ZN8miniquad6native4wasm4with28_$u7b$$u7b$closure$u7d$$u7d$17h5f2f66bbeea2ec2cE http://192.168.131.1:5500/test-macroquad.wasm:3279010 _ZN3std6thread5local17LocalKey$LT$T$GT$8try_with17h3d96de2bdad88c07E http://192.168.131.1:5500/test-macroquad.wasm:3362809 _ZN3std6thread5local17LocalKey$LT$T$GT$4with17h3a8b1bc7fc0694c9E http://192.168.131.1:5500/test-macroquad.wasm:3362366 _ZN8miniquad6native4wasm4with17h7b09e5a15d529252E http://192.168.131.1:5500/test-macroquad.wasm:3274312 frame http://192.168.131.1:5500/test-macroquad.wasm:3283887
This can be reproduced with the following code:
#[macroquad::main("")] async fn main() { loop { egui_macroquad::ui(|_| {}); macroquad::window::next_frame().await } }
Inserting a call to egui_macroquad::draw also gives the same panic (as far as I can tell).
egui_macroquad::draw
The text was updated successfully, but these errors were encountered:
&mut Context
EventHandler
BorrowedMutError
maybe related: not-fl3/miniquad#332
Sorry, something went wrong.
No branches or pull requests
When I run any code containing
egui-macroquad
in the browser and press Ctrl+V while focused on the tab, this panic message shows up:This can be reproduced with the following code:
Inserting a call to
egui_macroquad::draw
also gives the same panic (as far as I can tell).The text was updated successfully, but these errors were encountered: