- Home /
Question by
EstebanOlarte · Jul 23, 2020 at 08:46 AM ·
bugwebgl
Input events kept being fired when leaving full screen in WebGL
I created a system to move a character with the input axis: horizontal and vertical. I built for webGl, the movement works fine, i can enter full screen and still works fine, but if i press one key to move and press escape at the same time to quit full screen mode, Unity detects that the key is still pressed. If i click on another window or press the same key the bug is fixed. I use Input.GetAxis() and Input.GetKey() to evaluate if the key is pressed. Both funtions return that the key is pressed even after i released it.
Comment
Your answer
Follow this Question
Related Questions
Scenes turning blue when changing platform to WebGL 1 Answer
Copy to clipboard is not working in safari. 1 Answer
web gl error in loading xml files 0 Answers
WebGL Video colors washed out 3 Answers