Search Issue Tracker
Fixed in 2019.3.X
Votes
1
Found in
2017.4.0f1
2018.2.2f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1119934
Regression
No
Touch.Radius is always 0 when using Windows touch screen
How To Reproduce:
1. Open the "SampleScene" in the attached "TouchSizeTest.zip" Project on a Windows device with a touch screen
2. Enter Play Mode
3. Try to touch somewhere on the Game View
4. Observe the Console
Expected behavior: Valid touch radius is shown in the console
Actual behavior: Touch radius is always shown as 0
Reproducible with: 2017.4.19f1, 2018.3.2f1, 2019.1.0b1, 2019.2.0a2
Note: Tested on the Windows OS device Surface Pro. Touch.RadiusVariance behaves the same as Touch.Radius.
Comments (163)
-
Munna123
Jul 24, 2019 10:36
Know the complete information about how to install the windows 10 operating system on your personal computer. This is an awesome post for the user of windows 10 operating system.
https://windows10download.xyz/ -
Ashwink2
May 11, 2019 07:47
This is the only best way to understand all steps for adding wireless Bluetooth connection in windows 10 OS computer http://fixwindows10connections.com Thanks for your attention.
-
MonkeyYao
Apr 22, 2019 03:04
Dell XPS 15 with touch sreen. The touch size can be obtained by flash.events.TouchEvent .sizeX and flash.events.TouchEvent .sizeY in the Adobe Flash.but Touch.Radius returns 0 in Unity.
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
- Lights on Renderer Features break when rendering at lower resolution with "Forward+" Rendering Path
- [Android] High GPU usage is reported when the device is rotated into landscape orientation and the application is Vsync bound
- Aspect ratio toolbar doesn’t have tooltip to display contextual help or information when hovering over it
- Particle System isn't playing in Play Mode when it's out of view in Scene view, Simulation Space is set to "World", and Culling mode is set to "Pause and Catch-up"
- [Android] GameObject not rendered when rendering is performed with the help of "BatchRendererGroup"
Resolution Note (fix version 2019.3):
Touch.Radius hadn't been implemented since many Windows touch devices doen't seem to support it.
The Surface line of devices does support this API, and so it will now return non-zero values for both the Editor and Standalone player when running on a 'Surface'. However, for other touch-enabled devices, it may still return 0.