Search Issue Tracker
Fixed in 2021.3.46f1
Fixed in 2021.3.X, 2022.3.X, 6000.1.X, future release
Votes
1
Found in
2021.3.32f1
2022.3.14f1
2023.2.0f1
2023.3.0a15
6000.0.0b11
Issue ID
UUM-58248
Regression
No
Touch.rawPosition always returns (0,0) when clicking or dragging anywhere on the screen in device simulator
Reproduction steps:
1. Open the attached “TouchBug.zip” project
2. Open the “Assets/Scenes/SampleScene.unity“ scene
3. In the Game View window's top left corner, change the Game mode to Simulator mode
4. Enter the Play Mode
5. Hover the cursor over any area on the Game View window and click or drag anywhere on the screen
6. Observe the Console window
Expected result: “rawPosition” returns the original position of a touch
Actual result: “rawPosition” returns (0,0)
Reproducible with: 2021.3.32f1, 2022.3.14f1, 2023.2.0f1, 2023.3.0a15
Reproducible on: Windows 11
Not reproducible on: No other environment tested
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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Resolution Note (fix version 2021.3):
Verified the fix has landed in 2021.3.46f1 with Windows 11