Unity Issue Tracker - Touch.rawPosition always returns (0,0) when clicking or dragging anywhere on the screen in device simulator
Fixed
UUM-58248
Touch.rawPosition always returns (0,0) when clicking or dragging anywhere on the screen in device simulator
Unity: Editor Platform
Fixed
2022.3.X
2021.3.X
Won't Fix
6.0.X
2023.3.X
2023.2.X
Verified the fix has landed in 2021.3.46f1 with Windows 11
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)