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
- Saving moves Toggle Button Group buttons to the wrong place in hierarchy
- [iOS] Visual artifacts are visible when the camera's feed is rendered to a texture
- Error "cannot map expression to ps_4_0 instruction set" in Shader Graph preview when using the GATHER_RED_TEXTURE2D macro in custom hlsl function
- Sprite Renderer image is changed when Mask Interaction is turned by C# script
- URP Player remains in Windows Background processes when the application is closed
Resolution Note (fix version 2021.3.46f1):
Verified the fix has landed in 2021.3.46f1 with Windows 11