35 minutes ago · Tech · hide

My Rust+WASM game was working great on Firefox, but I was experiencing a very odd crash in Chromium. Whenever I picked a username and password from a dropdown on the login screen, I saw a panic like this: pfc_client.js:986 Uncaught TypeError: Cannot read properties of undefined (reading 'length') at passStringToWasm0 (pfc_client.js:986:19) at __wbg_key_76125a528069feff (pfc_client.js:439:26) at pfc_client.wasm.<web_sys[84a075a550f39ec3]::features::gen_KeyboardEvent::KeyboardEvent>::key::__wbg_key_76125a528069feff externref shim (pfc_client_bg.wasm:0x92d75) at pfc_client.wasm.<web_sys[84a075a550f39ec3]::features::gen_KeyboardEvent::KeyboardEvent>::key (pfc_client_bg.wasm:0x8880b) at pfc_client.wasm.<pfc_client[8b9b5911442e1f4]::pfc::Pfc>::on_menu_keydown (pfc_client_bg.wasm:0x64a8f) at pfc_client.wasm.<pfc_client[8b9b5911442e1f4]::pfc_state::Callbacks>::new::{closure#12} (pfc_client_bg.wasm:0x92e66) at pfc_client.wasm.wasm_bindgen[25d971d71070066b]::convert::closures::_::invoke::<web_sy…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town