Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.2p3
Issue ID
936595
Regression
No
Event.current.capsLock returns false, when capsLock is on, but capsLock key is released
To reproduce:
1. Open attached project "CapsTest.zip".
2. Open and Play "Test" scene.
3. Press "Caps Lock" on key board, and check the result.
Expected result: Event.current.capsLock returns true if capslock is turned on (as described in documentation. https://docs.unity3d.com/ScriptReference/Event-capsLock.html)
Actual result: Event.current.capsLock returns true, only while Caps Lock key is pressed.
Reproducible: 5.5.4p2, 5.6.3f1, 2017.1.0p2, 2017.2.0b5, 2017.3.0a2
Workaround:
http://answers.unity3d.com/questions/164795/unable-to-trace-capslock-on-and-off.html
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment