Open rmehta123 opened 7 years ago
I am using unity 5.5.1.f1 And google ads And GPGS
I think it is because of GPGS and Google ads conflict .
There should be other errors earlier in the log (don't filter on Unity so you can see them) and it will be the cause of the problem.
Using Unity 5.6.0f3, Google AdMob, Google Play Game Services 0.9.41, facing the same error:
09-16 20:26:25.437 8106 8119 I Unity : at GooglePlayGames.Native.PInvoke.GameServicesBuilder.Build (GooglePlayGames.Native.PInvoke.PlatformConfiguration configRef) [0x00000] in <filename unknown>:0
09-16 20:26:25.437 8106 8119 I Unity : at GooglePlayGames.Native.NativeClient.InitializeGameServices () [0x00000] in <filename unknown>:0
09-16 20:26:25.437 8106 8119 I Unity : at GooglePlayGames.Native.NativeClient.Authenticate (System.Action`2 callback, Boolean silent) [0x00000] in <filename unknown>:0
09-16 20:26:25.437 8106 8119 I Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action`2 callback, Boolean silent) [0x00000] in <filename unknown>:0
09-16 20:26:25.437 8106 8119 I Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action`1 callback, Boolean silent) [0x00000] in <filename unknown>:0
@iHaris93 Can you share log with out filtering unity. I have updated both plugin and now I am getting dex error at build time. So please share log If you can.
The same thing on Unity 2017.1f1 with AdMob, PGPS 0.9.41
Same issue Unity 2017.1.2f1 with Admob, GPGS 0.9.40 and Firebase. Also tried with 0.9.41 - same problem.
Did anyone figure out how to solve this?
For me it was something with Proguard stripping libraries. So I adjusted the pro guard file. Unfortunately i’m not at home right now, so I can’t tell about the exact file content.
Getting error
09-11 14:59:53.073 12161 12177 I Unity : Building GPG services, implicitly attempts silent auth 09-11 14:59:53.073 12161 12177 I Unity ::0
09-11 14:59:53.109 12161 12177 I Unity : at GooglePlayGames.Native.NativeClient.InitializeGameServices () [0x00000] in :0
09-11 14:59:53.109 12161 12177 I Unity : at GooglePlayGames.Native.NativeClient.Authenticate (System.Action:0
09-11 14:59:53.109 12161 12177 I Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action:0
09-11 14:59:53.109 12161 12177 I Unity : at GooglePlayGames.PlayGamesLocalUser.Authenticate (System.Action`1 callback) [0x00000] in :0
09-11 14:59:53.109 12161 12177 I Unity : at GoogleLoginS.l
09-11 14:59:53.122 12161 12177 W Unity : !!! [Play Games Plugin DLL] 09/11/17 14:59:53 +05:30 WARNING: Creating new PlayGamesPlatform
09-11 14:59:53.122 12161 12177 W Unity :
09-11 14:59:53.073 12161 12177 I Unity : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 09-11 14:59:53.073 12161 12177 I Unity : 09-11 14:59:53.109 12161 12177 I Unity : InvalidOperationException: There was an error creating a GameServices object. Check for log errors from GamesNativeSDK 09-11 14:59:53.109 12161 12177 I Unity : at GooglePlayGames.Native.PInvoke.GameServicesBuilder.Build (GooglePlayGames.Native.PInvoke.PlatformConfiguration configRef) [0x00000] in
2 callback, Boolean silent) [0x00000] in <filename unknown>:0 09-11 14:59:53.109 12161 12177 I Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action
2 callback, Boolean silent) [0x00000] in1 callback, Boolean silent) [0x00000] in <filename unknown>:0 09-11 14:59:53.109 12161 12177 I Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action
1 callback) [0x00000] in09-11 14:59:53.122 12161 12177 W Unity : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 09-11 14:59:53.122 12161 12177 W Unity : 09-11 14:59:53.122 12161 12177 I Unity : [Play Games Plugin DLL] 09/11/17 14:59:53 +05:30 DEBUG: Activating PlayGamesPlatform. 09-11 14:59:53.122 12161 12177 I Unity :
09-11 14:59:53.122 12161 12177 I Unity : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 09-11 14:59:53.122 12161 12177 I Unity : 09-11 14:59:53.122 12161 12177 I Unity : [Play Games Plugin DLL] 09/11/17 14:59:53 +05:30 DEBUG: PlayGamesPlatform activated: GooglePlayGames.PlayGamesPlatform 09-11 14:59:53.122 12161 12177 I Unity :
09-11 14:59:53.122 12161 12177 I Unity : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 09-11 14:59:53.122 12161 12177 I Unity : 09-11 14:59:53.122 12161 12177 I Unity : [Play Games Plugin DLL] 09/11/17 14:59:53 +05:30 DEBUG: Creating platform-specific Play Games client. 09-11 14:59:53.122 12161 12177 I Unity :
09-11 14:59:53.122 12161 12177 I Unity : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 09-11 14:59:53.122 12161 12177 I Unity : 09-11 14:59:53.122 12161 12177 I Unity : [Play Games Plugin DLL] 09/11/17 14:59:53 +05:30 DEBUG: Creating Android IPlayGamesClient Client
I have updated sdk and plugin