Search Issue Tracker

By Design

Votes

0

Found in

2019.3

2019.3.0a10

Issue ID

1172356

Regression

No

[Android] Crash at nativeRestartActivityIndicator when Debugging and running application in Android studio

Mobile

-

[This is internal feature, doesn't affect users]

To reproduce:
1.Create a new Unity project (Unity revision `ad84c73533d2`)
2. Add a C# script with a `Debug.Log` statement in the `Start` Method
3. Build an Android/IL2CPP armv7 and arm64 player, using the Install in builds folder option
4. Open Android Studio for the built project
Android Studio 3.4.2
Build #AI-183.6156.11.34.5692245, built on June 27, 2019
JRE: 1.8.0_152-release-1343-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
5. Do all of the Gradle update stuff
6. Select the arm7Debug_IL2CPP variant
7. Change the debugger to be native
8. Now debug - the process will hang on the phone, waiting for the debugger - but it never connects.
9. Try to run without debugging - the exception in the original post is in the logcat output.

Reproduced with: 2019.3.0a10
Can not test on another version because of the given Unity revision

Tested with:
VLNQA00138, Huawei P20 Pro (CLT-L29), Android 8.1.0, CPU: HiSilicon Kirin 970, GPU: Mali-G72
VLNQA00230, Oneplus OnePlus6T (ONEPLUS A6013), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00277, Asus ROG Phone (ASUS_Z01QD), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00013, Samsung Galaxy S6 Edge+ (SM-G928F), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00281, Samsung Galaxy S10e (SM-G970U), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00012, Samsung Galaxy S6 (SM-G920F), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00224, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830

No repro:
VLNQA00255, Samsung Galaxy Note3 Neo (SM-N7505), Android 4.4.2, CPU: Exynos 5 Hexa 5260, GPU: Mali-T624
Samsung Galaxy J4 Core (SM-J410F), Android 8.1.0, CPU: NOT FOUND, GPU: Adreno (TM) 308 ( new phone, no IT to print number label)
VLNQA00028, Samsung Galaxy Note4 (SM-N910F), Android 6.0.1, CPU: Snapdragon 805 APQ8084, GPU: Adreno (TM) 420

Notes:
All the devices that have the problem are arm8 devices (64-bits) while the ones where it could not be reproduced are arm7 CPUs (32-bit).
"Install in Builds folder" is only available for source code customers.

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.