HTML5 Uncaught Error at Array
I'm getting an error when playing my game in a web browser. The funny thing is that it works just fine until I use the numpad as input option. WASD is binded to the same keys as the numpad and works fine. But when using the numpad, it throws this error at me:
Uncaught Error at Array. (blob:http://localhost:8000/e3dae6c9-ff2e-41dc-a524-132fd15ef4ca:1:38841) at emscripten_asm_const_v (blob:http://localhost:8000/e3dae6c9-ff2e-41dc-a524-132fd15ef4ca:1:43602) at ZN5EKeys6AddKeyERK11FKeyDetails (wasm-function:150) at ZNK16FInputKeyManager15GetKeyFromCodesEjj (wasm-function:262) at ZN17FSlateApplication7OnKeyUpEijb (wasm-function:54) at ZThn148_N17FSlateApplication7OnKeyUpEijb (wasm-function:13) at ZN20FHTML5InputInterface4TickEfRK9SDL_EventR10TSharedRefI14FGenericWindowL7ESPMode0EE (wasm-function:660) at ZN17FHTML5Application19PollGameDeviceStateEf (wasm-function:538) at ZN17FSlateApplication19PollGameDeviceStateEv (wasm-function:128) at _ZN11FEngineLoop4TickEv (wasm-function:8305)
The project packed HTML5 size is 144 MB, but does not complain about this on packaging or running the game in a browser.
Do anyone know what could cause this to happen?
i have a fix in for 4.20
but, basically, HTML5PlatformInput.cpp needed to be updated with:
NOTE: the HTML5 version uses SDL_SCANCODE_xxx (while the linux version uses SDLK_xxx)
answered Apr 03 '18 at 03:47 PM
hello, Thanks so much for kidly response, i found some blueprint errors from logs the level work fine inside the editor . anyways any other level i may publish on web is not work on mobile browser , it load for a bit then crash
is there solution to have game or level work on mobile browser ?
answered Jan 07 '19 at 05:33 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here