When I use a controller in the editor or in a packaged windows build, everything works as expected.
When I use only a keyboard and a mouse in html5, it works as expected.
When I use a controller in html5, it crashes, on pressing the right trigger (on a xbox 360 controller) for example I get:
Expression (Key.IsValid()) failed in D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5180!
Check console for details.
Can confirm this also happens for me in Firefox, with a controller plugged in. Once the controller is unplugged it runs ok. UE4.10.4 for me
Could either one of you provide me with the link to your project that you’re receiving this crash on? Just wondering, did either of you test this out on a brand new project to see if the same thing happened?
Have either of you guys looked into [html5.h gamepad information] before?
html5.h — Emscripten 3.1.33-git (dev) documentation
It happens if you create a new Tappy Chicken project in 4.10.4, and run with the controller plugged in.
Thank you for bringing this to our attention. While this is happening in 4.10.4, I also tested this in 4.11 as well and was unable to reproduce this issue. Can you please confirm that you also are not having this issue in 4.11?
Same crash still occurs for me in 4.11 Preview 7, running Tappy Chicken in Firefox with controller plugged in.
I have tested this thoroughly and submitted a bug report to our Developers. UE-28513 is the report being used to track this issue. Thank you for bringing this to our attention.
If you have any further questions, let us know!