Hi there,
I’ve tried a lot of things to get the new Unity VideoPlayer to work on Android but it keeps crashing for me every time a video finishes playing. I’m using the latest Unity 5.6.2. I’m getting the result on both of my test devices Samsung S2 Tab running Android 6 and Samsung S5 running Android 5. My min support API level is 19 if thats relevant. I haven’t had a chance to break out the code to submit a bug report yet, but following this is a logcat dump of the crash. I’ve found other threads complaining of the same thing where someone mentioned that calling Stop() could cause a crash, I removed this it doesn’t help. I’ll also paste in my play code as well. Any ideas?
D/ActivityManager( 3252): startService callerProcessName:com.google.android.gms, calleePkgName: com.google.android.gms
D/ActivityManager( 3252): retrieveServiceLocked(): component = com.google.android.gms/com.google.android.gms.lockbox.LockboxService; callingUser = 0; userId(target) = 0
D/ActivityManager( 3252): caller:android.app.ApplicationThreadProxy@1c0acd3d, r.packageName :com.google.android.gms
D/ActivityManager( 3252): retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
D/ActivityManager( 3252): retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
D/ActivityManager( 3252): retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
D/ActivityManager( 3252): retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
D/ActivityManager( 3252): retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
D/ActivityManager( 3252): startService callerProcessName:com.google.android.gms, calleePkgName: com.google.android.gms
D/ActivityManager( 3252): retrieveServiceLocked(): component = com.google.android.gms/com.google.android.gms.udc.service.UdcApiService; callingUser = 0; userId(target) = 0
D/ActivityManager( 3252): caller:android.app.ApplicationThreadProxy@1c0142e2, r.packageName :com.google.android.gms
I/DEBUG ( 2598): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 2598): Build fingerprint: 'samsung/gts28wifixx/gts28wifi:5.0.2/LRX22G/T710XXU2APB2:user/release-keys'
I/DEBUG ( 2598): Revision: '8'
I/DEBUG ( 2598): ABI: 'arm'
I/DEBUG ( 2598): pid: 8569, tid: 8633, name: Thread-5060 >>> co.yakand.agenta <<<
I/DEBUG ( 2598): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2598): r0 00000000 r1 963ffdb0 r2 0000000a r3 00b450b0
I/DEBUG ( 2598): r4 af28c920 r5 00000000 r6 00000000 r7 00000003
I/DEBUG ( 2598): r8 af28c964 r9 00000003 sl 0000000b fp af040840
I/DEBUG ( 2598): ip a0017a84 sp 963ff820 lr 9f35f824 pc 9f4d2888 cpsr 800f0010
I/DEBUG ( 2598):
I/DEBUG ( 2598): backtrace:
I/DEBUG ( 2598): #00 pc 00630888 /data/app/co.yakand.agenta-2/lib/arm/libunity.so
I/DEBUG ( 2598): #01 pc 00630d80 /data/app/co.yakand.agenta-2/lib/arm/libunity.so
I/DEBUG ( 2598): #02 pc 00620df4 /data/app/co.yakand.agenta-2/lib/arm/libunity.so
I/DEBUG ( 2598): #03 pc 004c3100 /data/app/co.yakand.agenta-2/lib/arm/libunity.so
I/DEBUG ( 2598): #04 pc 00564534 /data/app/co.yakand.agenta-2/lib/arm/libunity.so
I/DEBUG ( 2598): #05 pc 005663c4 /data/app/co.yakand.agenta-2/lib/arm/libunity.so
I/DEBUG ( 2598): #06 pc 0056035c /data/app/co.yakand.agenta-2/lib/arm/libunity.so
I/DEBUG ( 2598): #07 pc 003c8520 /data/app/co.yakand.agenta-2/lib/arm/libunity.so
I/DEBUG ( 2598): #08 pc 00016bbb /system/lib/libc.so (__pthread_start(void*)+30)
I/DEBUG ( 2598): #09 pc 00014c83 /system/lib/libc.so (__start_thread+6)
W/ActivityManager( 3252): Force finishing activity co.yakand.agenta/com.prime31.UnityPlayerNativeActivity
I/DEBUG ( 2598):
I/DEBUG ( 2598): Tombstone written to: /data/tombstones/tombstone_04