Search Issue Tracker
Fixed
Fixed in 2022.2.0a17
Votes
0
Found in
2022.2.0a13
Issue ID
UUM-1148
Regression
No
[WebGL] Unity canvas containing WebGL player unable to gain focus when clicking or tabbing into it
Reproduction steps:
1. Open and run the reproduction project (to be attached in comments).
2. Build and run, targeting WebGL.
3. Try clicking on the canvas and inputting text.
Expected result: Clicking on the canvas puts it in focus, and allows input like keyboard to be captured.
Actual result: The canvas never gets focus, and all keyboard input is ignored.
Reproducible with: 2022.2.0a12
Could not test with: Did not test with older versions - should be tested.
Notes:
- The bug only occurs when WebGLInput.captureAllKeyboardInput is set to false, otherwise the global handlers capture the input.
- This seems a direct result of the canvas not having a `tabindex` in the templates. We could test if the canvas has the property defined, and attach one with the value of -1 if not.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Add comment