Unity Issue Tracker - "By character mapped to key" is not working when building on WebGL
Closed
UUM-52931
"By character mapped to key" is not working when building on WebGL
Unity: Web Platform
Feature Request
6.6.X
6.5.X
6.4.X
6.3.X
6.0.X
2023.1.X
2022.3.X
2021.3.X
Thank you for reporting the bug. Implementation for the API that connects to "By character mapped to key" does not yet exist on the Web platform. We are closing this bug and have opened a new feature request ticket to implement the API.
Reproduction steps:
1. Open project “My project (2).zip”
2. Switch build platform to WebGL
3. Build and Run the project
4. Switch to an AZERTY keyboard
5. Press the “w” key
Expected result: "Pressed z" is shown
Actual result: Nothing happens
Reproducible with: 2021.3.30f1, 2022.3.10f1, 2023.1.15f1
Couldn’t test with: 2023.2.0b11, 2023.3.0a7 (due to compiler errors)
Reproducible on: macOS Ventura 13.2.1 (Intel), Windows 11 (by the reporter)
Not reproducible on: no other environment tested
Notes:
Not reproducible in Editor or Windows Standalone Player
Pressing the “z” key with the AZERTY keyboard gives expected results
Prioritise and Follow this issue
Have a workaround or additional info about this issue?