Search Issue Tracker
Fixed in 4.6.6
Votes
27
Found in
5.0.0b19
Issue ID
662515
Regression
Yes
[Input] When resizing window, Input.mousePosition will be clamped by the original window size
Steps to reproduce this issue:
1. Open the attached project
2. Open Default scene
3. It displays the position of the mouse on the screen
4. Go to Player Settings->Resolution And Presentation tab
5. Make sure 'Resizible Window' is enabled
6. Build&run on standalone in windowed mode
7. Resize game window, make it larger
8. Notice that Input.mousePosition will be clamped by the original window size
This does not occur in-editor
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 UnityPlayer!profiling::ProfilerManager::DisposeProfilerRecorder+0xa when Player gets relaunched and exited after running for a long amount of time
- [Input system] When releasing one touch and pressing a second touch during a single frame, the second touch is not translated into UI event line OnPointerDown by the InputSystemUIInputModule
- URP Samples - multiple "Attempting to resolve render surface" and other errors appear when setting Quality pipeline asset
- OnDemandRendering.willCurrentFrameRender returns incorrect values in the Player when UnityEngine.Rendering.OnDemandRendering.renderFrameInterval is greater than 1
- Root motion is not reapplied when transitioning from an animation without root motion to an animation with root motion
Dm1try
Mar 25, 2015 09:25
I published temporarily solution to this problem. It might help.
http://forum.unity3d.com/threads/input-mouseposition-buggy-in-resizable-window-windows-exe.292673/
axv
Feb 16, 2015 19:58
In 4.6.2 too
sergey-pozdnukhov
Jan 28, 2015 13:28
4.6.1.p4
andyz
Jan 27, 2015 15:02
This is in 4.6.1 too