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
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Resolution Note (fix version 2021.3.46f1):
Verified the fix has landed in 2021.3.46f1 with Windows 11