Search Issue Tracker
Duplicate
Votes
1
Found in [Package]
2019.4
2019.4.2f1
2020.2
Issue ID
1262799
Regression
No
Mouse position is not updated when locking the cursor and it causes the mouse to snap unpredictably when entering the Play Mode
How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode (don't move the mouse after clicking the Play button)
3. Observe the Game View
4. Move the mouse a little
Expected result: Mouse position is updated when locking the cursor and doesn't cause the mouse to snap unpredictably when entering the Play Mode
Actual result: Mouse position is not updated when locking the cursor and it causes the mouse to snap unpredictably when entering the Play Mode
Reproducible with: 2018.4.26f1, 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
Note: Mouse position is updated for a brief moment and then reset to zero (0, 0)
-
Resolution Note:
This is a duplicate of another issue we're looking at. Similar behavior exists when using a standalone build and locking the cursor on first mouse down.
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
This is a duplicate of issue #1283506