#Upgrading to 2.7.3 caused issues

1 messages · Page 1 of 1 (latest)

grim grove
#

I have been using 2.7.1 for some time and recently realized that the sign in fail issue started to rise on android devices. I then upgraded this asset to 2.7.3 and my app can no longer sign in and it gets stuck on loading screen with this warning message with no error.

#

I have followed the steps on the documentation for updating the asset

haughty field
#

An you please share completr logcat log?

#

Do you have any consent submission pending in the google cloud console?

grim grove
#

There is nothing pending on either console.

#

For the Logcat log, when i set the tag to unity i see no error log and only log related to voxel is the one i shared above

#

One thing i am doing different before bulding the apk is that i uncheck Split Application Binary in player settings

#

cause it produces "Unable to load OBBs" error

haughty field
#

Can you try making the apk and test locally on your device once to confirm?

grim grove
#

That is what i have been doing today, i haven't released this version yet

haughty field
#

Ok, pls do one thing

#
  1. Add GameServicesDemo scene to the build settings as the first scene
  2. Make an apk and send it over.
  3. I will pass you my email id which you can add it to testers list on google play console
grim grove
#

I need to get an approval to do this, there are logs i can't expose

haughty field
#

I see. If package id can be exposed (it will be public anyways), I just need an apk with GameServicesDemo scene alone so that no details are exposed.

grim grove
#

Well, added that scene and made an apk. Error says i need to enable game services, its off since im only using cloud services

#

but the play services id is there

haughty field
#

Can you pls share complete error?

grim grove
haughty field
#

Is this still split apk?

#

If the settings file is not pushed to the base apk, I see this issue can araise as we can't load settings file runtime.

#

The log is stripped so can't get complete info.

grim grove
#

yes this is still split apk

#

Wow

#

Everything strangly started working

#

I enabled game services and removed the scene you wanted me to add

#

I am so confused, i have been trying to fix this whole day and it decided to work now

#

i am going to try again with game services off

haughty field
#

1 sec. Pls let me go through

#

May I know what made it work again?

grim grove
#

So, I have turned on the Game Services from the settings, and moved my own scene to index 0. GameServicesDemo scene didn't open therefor. I now turned it back off to confirm if that realy what makes it work

#

i will let you know in a second

#

it worked again 😄 this is the worse case scenario. I have no clue what made it work. Let me check my git logs

haughty field
#

Ok, not sure, but with split apk, if there are no references related to the plugin in first scene, its possible for unity to not include any of the plugin resources in scene 1. Thats when we load internally our settings file leading to not find the settings file.

grim grove
#

hmm okay, i will try with that setting on now

#

Uneducated guess: Maybe changing settings caused something to fire which updated another thing?

#

hmmm sooo, i removed the GameServicesDemo scene and now im stuck again with no errors

#

it was in index 1

#

I guess once i fix my problem with OBBs error caused by split binary, everything else will work

haughty field
#

Ok

#

Is it logging in fine now?

grim grove
#

everything works fine when split binary is off and GameServicesDemo scene is in the "Scenes in Build" regardless of it's index. But once i remove that, login doesn't work in apk, i might in aab though

haughty field
#

"GameServicesDemo scene is in the "Scenes in Build"" - with on or off

grim grove
#

off

#

AAB: No GameServicesDemo scene with split binary on, sign in successful, stuck on loading

AAB: With GameServicesDemo scene in list, split binary on, sign in successful, stuck on loading

#

yeah i have no clue

haughty field
#

so now you are stuk on loading - any log details?

grim grove
#

do you think this is related?

#

Just to make sure we are on the same page, i am using cloud services not game services

haughty field
#

doesnt sound so

grim grove
#

i am going to continue tomorrow, i will let you know when i get it working. Thank you for your help.

haughty field
#

Ok

grim grove
#

I deleted my local copy of the project and redownloaded it, With 2.7.3 apk build work but sign in still fails

#

Same with AAB build, split binary on. Game works fine but sign in fails

grim grove
#

Okay everything worked now as i enabled Game Services from the settings

haughty field
#

Ok, may be its disabled by you earlier?

#

Ok, you said you are not using it right? Let me check on my end with cloud services + split binary option.

grim grove
#

Yes i am not using Game Services it was always off

#

Apk, split binary off, game services on, signed in and working

#

So its Game Services that solves the problem for me

haughty field
#

Ok. I assume you don't use anywhere GameServices.Authenticate as you set it off earlier. Anyways, i will check with same config as you mentioned.

grim grove
#

Correct, i don't

haughty field
#

One last thing - do you have engine stripping to low mode?

grim grove
#

Yes it is on Low

haughty field
#

👍🏻

blissful monolith
#

hi @haughty field What is this string for? Is this used for something even GameServices is closed?

grim grove
#

we are working on the same project with @blissful monolith btw

haughty field
#

Did you enter the client id in settings? once after export it should go off if not entered.

grim grove
#

Do you mean this?

#

if yes no, its been empty since the beginning

#

removing the id from the highlighted line @blissful monolith shared fixed our issue btw

blissful monolith
#

We removed that id, now its working.
Why is it there? A simple SDK update caused us to lose 2 days

haughty field
#

Ok, Pls let me explain

  1. Split APK + Login - It's not something we noticed with split apk and no changes w.r.t recent update related to it Game Services code (other than updating the game services dependency library versions).
  2. Server Client Id - Even though it has some value (its a dummy id), it should get overwritten with your own values on export. We don't write that file until there is an export/build is triggered.
#

I think the second one is a bug as you have game services disabled earlier, it didn't trigger the overwrite. I will get this fixed.