View Issue Details

IDProjectCategoryView StatusLast Update
0029067Marketplace ExtensionsGoogle Play ServicesPublic2019-09-18 10:08
ReporterSam CummingAssigned ToCoreTech 
PriorityLowSeverityA - Crash/HangReproducibility100%
Status AssignedResolutionOpen 
PlatformAndroidOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0029067: Google Play Services: Missing a reference to 'Drive.SCOPE_APPFOLDER', so crashes when snapshots are used
DescriptionThe GooglePlayServices extension is missing a reference to 'Drive.SCOPE_APPFOLDER', which is required to be able to use Snapshots in cloud saving. Due to this, whenever cloud_synchronise() is called, the Runner will crash. I've tried adding this reference manually to the extension's Java, however it doesn't seem to take it up.

Note though that the Runner will only crash if it's been built from GMS2. Running the same project in 1.x will work fine, and no crash occurs.
Steps To Reproduce1. Open the attached project.
2. Run for Android.
3. Sign in.
4. Observe that the Runner immediately crashes. Looking at the compile log shows an AndroidRuntime fatal exception, pasted below.
Additional Information03-05 09:17:58.569 8549 8549 I yoyo : Sign In Succeeded
03-05 09:17:58.569 8549 8549 I yoyo : Found displayname SamBCYYG with id g17984927051574425240
03-05 09:17:58.574 8549 8563 I yoyo : Social async action received
03-05 09:17:58.574 8549 8563 I yoyo : received our info g17984927051574425240
03-05 09:17:58.574 8549 8563 I yoyo : Found name SamBCYYG playerid g17984927051574425240
03-05 09:17:58.574 8549 8563 I yoyo : onGSCloudSync called with id=4
03-05 09:17:58.574 8549 8563 I yoyo : Social async action received
03-05 09:17:58.574 8549 8563 I yoyo : received our info g17984927051574425240
03-05 09:17:58.574 8549 8563 I yoyo : Found name SamBCYYG playerid g17984927051574425240
03-05 09:17:58.574 8549 8563 I yoyo : onGSCloudSync called with id=5

03-05 09:17:58.584 8549 8848 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #4

03-05 09:17:58.584 8549 8848 E AndroidRuntime: Process: com.yoyogames.googleplayservicesqa, PID: 8549

03-05 09:17:58.584 8549 8848 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:309)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:223)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:242)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Must include Drive.SCOPE_APPFOLDER to use snapshots!

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1629)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1574)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.internal.zzeu.zzb(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.games.internal.zzx.zza(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.games.internal.GamesClientImpl.zza(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.games.internal.api.zzcf.zza(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.common.api.internal.zzm.zzb(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.common.api.internal.zzal.zze(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.common.api.internal.zzbi.zze(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.common.api.internal.zzba.zze(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.games.internal.api.zzcd.open(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.google.android.gms.games.internal.api.zzcd.open(Unknown Source)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.yoyogames.googleplayservicesqa.GooglePlayServicesExtension$6.doInBackground(GooglePlayServicesExtension.java:893)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at com.yoyogames.googleplayservicesqa.GooglePlayServicesExtension$6.doInBackground(GooglePlayServicesExtension.java:889)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:295)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)

03-05 09:17:58.584 8549 8848 E AndroidRuntime: ... 4 more
TagsNo tags attached.
2.x Runtime Found In
2.x Runtime Verified In

Activities

Dan

2019-04-30 17:08

Adminstrator   ~0063771

Not sure if this is still valid?