playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.45k stars 962 forks source link

Google Play Services Crashing on App Open #2593

Open AveryRyan opened 5 years ago

AveryRyan commented 5 years ago

Using: Plugin Version 0.9.64 Unity 2018.3.0

Solutions Tried: Rebuilding the app (Have you tried turning it off and back on again?) The "\u003" method mentioned in #2013

Details on the Problem: Upon opening the app, it shows the Unity Splashscreen, occasionally a split second of our loading screen, and promptly crashes. I'm not sure if a specific call is causing this, or how to find that out on an Android phone. The Unity console itself did not log any errors on build.

exzizt commented 5 years ago

Do you have Engine Stripping enabled? If so, turn it off and try again.

AveryRyan commented 5 years ago

Do you have Engine Stripping enabled? If so, turn it off and try again.

Where can I find that feature?

exzizt commented 5 years ago

Do you have Engine Stripping enabled? If so, turn it off and try again.

Where can I find that feature?

https://www.google.com/search?q=google+unity+engine+stripping&rlz=1C1ASUM_enCA774CA774&oq=google+unity+engine+stripping&aqs=chrome..69i57j69i64.6192j0j7&sourceid=chrome&ie=UTF-8

AveryRyan commented 5 years ago

Do you have Engine Stripping enabled? If so, turn it off and try again.

Where can I find that feature?

https://www.google.com/search?q=google+unity+engine+stripping&rlz=1C1ASUM_enCA774CA774&oq=google+unity+engine+stripping&aqs=chrome..69i57j69i64.6192j0j7&sourceid=chrome&ie=UTF-8

Seems like it's already disabled.

antlaw commented 5 years ago

I encounter the same problem, using Unity 2019.1.7f1. Engine Stripping disabled and the problem still exists. Any solution?

AveryRyan commented 5 years ago

I encounter the same problem, using Unity 2019.1.7f1. Engine Stripping disabled and the problem still exists. Any solution?

Haven't found one yet, but I'm still looking.

MattiasC commented 5 years ago

I have the same symptom, using Unity 2019.1.8f1.

I am using CloudOnce 2.6.8 (which in turn uses the google play games plugin 0.9.64) and am trying to add the AdMob plugin (v3.18). Separately they work fine, but combined I get the same symptom on the device. I have attached a log which I got from my device when starting the application and

I think this is what is causing the crash: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/util/ArraySet; (I am new to debugging, so I am still learning where to look when troubleshooting)

Looking at what changes have been made in the source since the last release, the import android.support.annotation.NonNull; has been changed to import androidx.annotation.NonNull;

Could that fix this problem? I am not sure how to test that or how long it will be until next release.

CloudOnce_AdMob_testlog.txt