Search Issue Tracker
Fixed in 2021.2.X
Votes
2
Found in
2021.2.0a2
2021.2.0a14
Issue ID
1331894
Regression
Yes
Mouse events are not always fired when VSync is off
How to reproduce:
1. Open the attached project "BugMouseFramerate.zip"
2. Open Assets/Scenes/SampleScene.unity
3. Enter Play Mode
4. In "Game view" scroll the mouse scroll either up or down
Expected result: Input.GetAxis("Mouse ScrollWheel") is called every time the mouse wheel is used
Actual result: Input.GetAxis("Mouse ScrollWheel") is not called every time the mouse wheel is used
Reproducible with: 2021.2.0a2, 2021.2.0a15
Not reproducible with: 2018.4.34f1, 2019.4.25f1, 2020.3.7f1, 2021.1.6f1, 2021.2.0a1
Notes:
- Enabling VSync solves the issue
- Same behavior while using FixedUpdate()
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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Resolution Note (fix version 2021.2):
Fixed in: 2022.1.0a1
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b4