Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
0
Found in
2022.3.61f1
6000.0.47f1
6000.1.0b15
6000.2.0a9
Issue ID
UUM-103266
Regression
No
DisplayName returns QWERTY keyboard key value and not the OS keyboard value when used in a WebGL build
How to reproduce:
1. Open the project: “IN-98768_Input”
2. Click File → Build and Run
3. Open the Browsers Console
4. Make sure to switch to a Cyrillic alphabet keyboard layout in your OS
5. Press the “g” key on the keyboard
6. Observe the Browser Console
Expected result: The Console prints out “Display Name: п”
Actual result: The Console prints out “Display Name: g”
Reproducible with: 2022.2.0a1, 2022.3.61f1, 6000.0.47f1, 6000.1.0b15, 6000.2.0a9
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Comments (2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
joey81
Apr 16, 2025 13:26
GET RICH WITH BLANK ATM CARD, Whats app: + 1 9 7 9 3 6 2 1 4 3 7
I want to testify about Dark Web blank atm cards which can withdraw money from any atm machines around the world. I was very poor before and have no job. I saw so many testimony about how Dark Web Online Hackers send them the atm blank card and use it to collect money in any atm machine and become rich {DARKWEBONLINEHACKERS @ GMAIL . COM} I email them also and they sent me the blank atm card. I have use it to get 500,000 dollars. withdraw the maximum of 5,000 USD daily. Dark Web is giving out the card just to help the poor. Hack and take money directly from any atm machine vault with the use of atm programmed card which runs in automatic mode.
You can also contact them for the service below
* Western Union/MoneyGram Transfer
* Bank Transfer
* PayPal / Skrill Transfer
* Crypto Mining
* CashApp Transfer
* Bitcoin Loans
* Recover Stolen/Missing Crypto/Funds/Assets
Email: darkwebonlinehackers @ g m a i l . c o m
Whats App: + 1 9 7 9 3 6 2 1 4 3 7
mobileappdevelopmentae
Apr 16, 2025 11:06
Hey, thanks for sharing this!
Yeah, I can confirm this behavior as well—DisplayName in WebGL builds seems to return the key as mapped on the QWERTY layout, not based on the OS-level keyboard layout. So when you're using a Cyrillic layout and press "g", it still returns "g" instead of "п".
It looks like WebGL's input system relies on the underlying JavaScript KeyboardEvent.code or key, which is tied to the physical key rather than the character mapped in the OS layout. That’s probably why it behaves differently compared to native platforms.
We encountered a similar limitation when developing a multilingual chat interface for a mobile app development company in Dubai—to support localized input in WebGL, we had to capture raw key events at the browser level using a JavaScript plugin and pass that into Unity via SendMessage().
So unless Unity changes how WebGL input works or gives more flexibility, a workaround could be custom JS to fetch KeyboardEvent.key and forward it into Unity.
Let me know if you’d like help setting up a basic plugin for that!