Search Issue Tracker

Fix In Review for 2020.1

Fixed in 2018.4, 2019.3

Fix In Review for 2019.2

Votes

18

Found in

2017.4.33f1

2019.2.6f1

Issue ID

1185531

Regression

Yes

[Android] Input.GetKey returns false when S-Pen is being used on Samsung device

Mobile

-

To reproduce:
1. Open attached project
2. Build to Samsung device with S-Pen
3. Use the Pen on the mobile screen

Actual result: The pen does not work. Getting Mouse0 in Input.GetKey only at first draw call. Then you don't receive anything (Input.GetKey return false all the time you press S-Pen)
Expected result: The pen should work. When you press and hold S-Pen should get Mouse0 button pressed all the time while pressing S-Pen (Input.GetKey)

Reproduced with: 2017.4.33f1; 2018.4.9f1; 2020.1.0a4
Not reproduced with: 2017.4.32f1; 2018.4.8f1

Tested with:
VLNQA00219, Samsung Galaxy Note9 (SM-N960U), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00128, Samsung Galaxy Note8 (SM-N950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00028, Samsung Galaxy Note4 (SM-N910F), Android 6.0.1, CPU: Snapdragon 805 APQ8084, GPU: Adreno (TM) 420

Note: Logcat attached.

Comments (10)

  1. 7f6d17160487fcf3d33934ea7f4f6940?d=mm

    lastcode

    Nov 14, 2019 12:44

    Hello! Problem still exists in 2019.2.12f1.
    "Fix In Review for 2019.2" - What does it mean?

  2. 028b7ebb9463459544b3d8440ef92025?d=mm

    Mathijs333

    Nov 13, 2019 21:57

    Hi,

    Problem still exists in 2019.2.12f1.
    When will this be resolved?
    A growing amount of users are using these pens with our apps which increases the amount of bad reviews. It doesn't feel a complex bug to resolve for you guys, so it would be great to give it enough priority. thanks.

  3. Dd236b8733a535542c37e4e62db1fa9f?d=mm

    amoswazana

    Nov 06, 2019 08:38

    Reproduced the issue on 2019.2.9f1 and beta version 2019.3.0b9.
    Fixed in alpha version 2020.1.0a11.

  4. Bcee6d27bba37ffad1494ca746fa090c?d=mm

    SergioBorgesMendes

    Nov 05, 2019 12:52

    Still reproducible in 2019.3.0b9.
    Is there any update about this issue?

    Thank you

  5. A9fc5567fdebf80e7e63b7279f2b69c5?d=mm

    OgoneTech

    Nov 05, 2019 09:19

    Reproduced with: 2017.4.34 too. No fix planned for 2017.4 ?
    thx

  6. A9fc5567fdebf80e7e63b7279f2b69c5?d=mm

    OgoneTech

    Oct 30, 2019 10:52

    Hello,
    I have exactly the same error (no drag) with 2017.33. Thank for posting, because I can only do dashed in my drawing application. :(

  7. 7f6d17160487fcf3d33934ea7f4f6940?d=mm

    lastcode

    Oct 17, 2019 08:54

    Will the error be fixed in version 2019.2?

  8. 7f6d17160487fcf3d33934ea7f4f6940?d=mm

    lastcode

    Oct 14, 2019 11:38

    These methods are not called if you make a movement with the stylus
    public void OnEndDrag(PointerEventData eventData)
    public void OnBeginDrag(PointerEventData eventData)
    public void OnDrag(PointerEventData eventData)

  9. 7f6d17160487fcf3d33934ea7f4f6940?d=mm

    lastcode

    Oct 14, 2019 11:25

    Hello.
    The problem exists in versions 2019.2.8f1 and 2019.2.9f1

  10. 49b2d531da2e66f7732f0d3f4509ff6d?d=mm

    sketchii

    Sep 26, 2019 10:19

    Thank you SO much for posting this, I was wondering what went wrong and thought it was due to updating the NET framework, tried so many other things. I rolled back Unity to 2018.4.8f1 and it works again! Yay!

    Just want to add that Samsung Galaxy Note5 (SM-N9200), Android 7.0, also doesn't work.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.