Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash app android when starting (Unity 2018.2.1f1 (64-bit) and Unity 2018.2.0f2 (64-bit)) GooglePlayGamesPlugin-0.9.50 #2254

Closed
Jbrandan opened this issue Jul 26, 2018 · 21 comments

Comments

@Jbrandan
Copy link

When I import the packate this error comes out (Solution #2013 did not work for me):

Resolution failed

Failed to fetch the following dependencies:
com.android.support:support-annotations:25.2.0
com.android.support:support-compat:25.2.0
com.android.support:support-core-ui:25.2.0
com.android.support:support-core-utils:25.2.0
com.android.support:support-fragment:25.2.0
com.android.support:support-media-compat:25.2.0
com.android.support:support-v4:25.2.0
com.google.android.gms:play-services-auth-api-phone-license:11.6.2
com.google.android.gms:play-services-auth-api-phone:11.6.2
com.google.android.gms:play-services-auth-base-license:11.6.2
com.google.android.gms:play-services-auth-base:11.6.2
com.google.android.gms:play-services-auth:11.6.2
com.google.android.gms:play-services-base-license:11.6.2
com.google.android.gms:play-services-base:11.6.2
com.google.android.gms:play-services-basement-license:11.6.2
com.google.android.gms:play-services-basement:11.6.2
com.google.android.gms:play-services-drive-license:11.6.2
com.google.android.gms:play-services-drive:11.6.2
com.google.android.gms:play-services-games-license:11.6.2
com.google.android.gms:play-services-games:11.6.2
com.google.android.gms:play-services-nearby-license:11.6.2
com.google.android.gms:play-services-nearby:11.6.2
com.google.android.gms:play-services-tasks-license:11.6.2
com.google.android.gms:play-services-tasks:11.6.2
com.google.games:gpgs-plugin-support:0.9.50@srcaar


UnityEngine.Debug:LogError(Object)
Google.Logger:Log(String, LogLevel)
GooglePlayServices.PlayServicesResolver:Log(String, LogLevel)
GooglePlayServices.ResolverVer1_1:LogMissingDependenciesError(List`1)
GooglePlayServices.<DoResolutionUnsafe>c__AnonStorey18:<>m__26(List`1)
GooglePlayServices.<GradleResolution>c__AnonStorey14:<>m__1F(Result)
GooglePlayServices.<GradleResolution>c__AnonStorey15:<>m__28()
GooglePlayServices.PlayServicesResolver:PumpUpdateQueue()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
@AurelioMV
Copy link

Same is happening with me on both Unity 2018.2.0 and 2018.2.1. Please fix it soon.

@Jbrandan
Copy link
Author

I could solve it
1-Unity 2018.2.0f2 (64-bit) create scena with all your prefabs
2-delete project prefabs
3-copy the scene
4-Paste the scena in the old version of unity (Unity 2017.3.1f1 (64-bit))
5-re-create the prefabs with the objects in the scena stuck

@AurelioMV
Copy link

Thanks! That's a good temporary solution, but I switched to a 4K display after Unity started supporting IDE scaling in 2018.2 release. I'll remove the plugin for now and wait until Unity or Google comes up with a fix.

@Suvitruf
Copy link
Contributor

Suvitruf commented Jul 27, 2018

This repo was updated last time 5 months ago. They don't even accept pull requests. So...

@AurelioMV
Copy link

Unity is currently the most used tool for creating android games, I don't think they will let Google Play Games Plugin not working...

@Suvitruf
Copy link
Contributor

This plugin was developed by Google employee, not by Unity.

@AurelioMV
Copy link

Exactly, Google wouldn't let their plataform not working in one of the major game engines. As soon as they realize it's bugged they will come up with a fix.

@rajeshdalsaniya
Copy link

@Jbrandan Try this it will work to solve dependency downloading issue which you facing - #2243

@hsirkar
Copy link

hsirkar commented Jul 29, 2018

Open AndroidManifest.xml found in GooglePlayGames/Plugins/Android/GooglePlayGamesManifest.plugin and replace all instances of "\ " (note the trailing space after the slash) with "\u003". Worked for me on 2018.2.1f1.

Creds @khaledElshimy from #2013

@gauravk95
Copy link

Try changing the build system from Gradle to Internal.

@exzizt
Copy link

exzizt commented Aug 3, 2018

Still an issue.

@wbsaputra
Copy link

wbsaputra commented Aug 8, 2018

Same here, crash when using social.auth, Unity 2018.2.0f2 (64-bit)) GooglePlayGamesPlugin-0.9.50
Anyone has solution?

This solution work #2013

@sesan07
Copy link

sesan07 commented Aug 18, 2018

@hsirkar your solution worked for me! :D

@Jbrandan
Copy link
Author

2018.2.1f1 already works in this version.
(Unity 2017.3.1f1 (64- bit)) but I'm still

@foenix76
Copy link

foenix76 commented Sep 9, 2018

@hsirkar GPGS 9.5.0 + Unity 2018.2.6f 64bit(Win). You saved my life!! Thanks!!

@v01pe
Copy link

v01pe commented Oct 4, 2018

Open AndroidManifest.xml found in GooglePlayGames/Plugins/Android/GooglePlayGamesManifest.plugin and replace all instances of "\ " (note the trailing space after the slash) with "\u003". Worked for me on 2018.2.1f1.

Creds @khaledElshimy from #2013

Wow, OK, nice hack! Still got other issues, but this is a bit progress!
Explanation of the hack, b/c i was curious: in unicode (that's what the \u stands for), all numbers start with \u003, so whatever comes afterwards is a number and thus is converted to unicode format…

I'm just curious why the failing \ hack was needed in the first place and still isn't fixed.

@HarrisonHough
Copy link

Also found another very similar solution that worked for me on this thread just FYI

You just remove the space after the "" entirely.

https://forum.unity.com/threads/unity-application-id-must-be-a-numeric-value-please-verify-that-your-manifest-refers-to-the-correct.544070/

@olehkuznetsov
Copy link
Contributor

Should be fixed in 0.9.51.

@code-doyen
Copy link

      Should be fixed in 0.9.51.

0.9.51 does NOT fix, and \u003 can be omitted simply by removing the space between the backslash and app id like so "\APP_ID
To fix, modify GooglePlayGames\Editor\template-AndroidManifest.txt and rerun Android setup

@olehkuznetsov
Copy link
Contributor

APP_ID is fixed in 0.9.52

@synystro
Copy link

@hsirkar can't tell you how much I love you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests