Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.3.1p1

Issue ID

1016641

Regression

No

[UI][Android] OnEndDrag() is not being called while dragging and leaving the Application

uGUI

-

The ScrollRect stops working correctly when you are in the middle of dragging and decide to leave the application in Android

To reproduce:

1. Download attached project and open in Unity
2. Run logcat
3. Build and Run the project on an Android device
5. Start dragging on the ScrollRect
6. While still dragging, just call up the Google Assistant on the phone using another finger and holding the Home button, or instead of calling the Google Assistant just select the Home button and go to your Home Screen
7. Go back to the application and you'll see the ScrollView is not moved back to its regular position

Notes:
- Logcat and project are shared in the comments section
- On iOS devices everything is fine and ScrollView is moved back to its regular position when you came back to the application
- The issue is that the OnDragEnd event never gets called, which it should if you have actually stopped dragging on the screen or leave the application

Devices:
- Google Pixel 2, OS: 8.1.0, CPU: arm64-v8a, GPU: Adreno (TM) 540
- iPhone 7, iOS: 11.2.6, CPU: A10

Reproduced on Unity 2017.1.3p3, 2017.2.2p3, 2017.3.2f1, 2017.4.1f1, 2018.1.0b13 and 2018.2.0a8

  1. Resolution Note:

    Low priority defect for the moment. This bug is unlikely to be fixed in the near future.

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.