0
Not a Bug

WebGL builds are not detecting any input

Sadware 7 months ago updated by Lazlo Bonin (Lead Developer) 7 months ago 2

I'm working on a very simple and light weight project; very little scripting is being utilized.
However! I've encountered a serious issue attempting to test my WebGL builds: no input is being detected; therefore the game is impossible to interact with.

There are no console errors, and the keyboard controls do work perfectly in my Windows exe builds and the Editor.

I am not using the new Input System, I am using the regular Input Manager in tandem with "Get Axis" and "On Keyboard Input". For troubleshooting purposes I have also scripted some Mouse interactions but those do not work either.

I also tried rebuilding my Bolt units, and I also made sure the types included "on Input" and "On Keyboard Input"

Has anyone else had issues with input when dealing with WebGL html builds?

Bolt Version:
1.4.10
Unity Version:
2019.2.1f1
Platform(s):
WebGL
Scripting Backend:
N/A
.NET Version (API Compatibility Level):
N/A
GOOD, I'M SATISFIED
Satisfaction mark by Sadware 7 months ago

Aha! A simple fix. I didn't know about creating a AOT-Prebuild before building for WebGL.
https://ludiq.io/bolt/manual/advanced/aot

Everything works as intended!

Not a Bug

Hi Sadware,

Glad you figured it out. Cheers!