Search Issue Tracker
Fixed
Fixed in 2021.3.46f1, 2022.3.51f1, 6000.1.0a1
Votes
1
Found in
2021.3.32f1
2022.3.14f1
2023.2.0f1
2023.3.0a15
6000.0.0b11
7000.0.0a1
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2021.3.46f1):
Verified the fix has landed in 2021.3.46f1 with Windows 11