-
Notifications
You must be signed in to change notification settings - Fork 964
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
Error Creating a GameServices object. #884
Comments
This message: You can get to the SDK manager from Unity via Window > Google Play Games > Downloads > Google Play Games SDK (Android). |
All of these packages are already up to date and it still doesn't work |
Earlier in the log it will list the problem, can you share that part or the log? |
Here is some more of the log |
That's the right section, but can you not filter the log and share the raw logcat? |
Here the problem is it can't register one of the Java classes |
Yep, that's it. If you look at the whole log, the class not being loaded will be listed. Then the aar or jar file for that class needs to be added to the project. I think the error comes out pretty early when the process is starting... |
"GamesNativeSDK: Can't register class com/google/android/gms/appstate/AppStateManager: an exception occurred." Is the the class that isn't being loaded and if so how would I add it to the project. Thanks so much for your help so far. |
I was able to fix it thanks |
Great! The class |
I'm sorry for taking so long to respond. I completely reinstalled the On Wed, Dec 23, 2015 at 11:02 PM, Clayton Wilkinson <
|
Great! glad you got it working. |
I have a same problem. Can you show me how to fix it ? |
Yeah, same problem here. Currently on version 8.4.0 but when I upgrade to 9.4.0 I get DEX error... Guess I need to keep trying! |
Yeah, it's working now. Had to delete AdMob and GPlay and reimport everything back again... |
I am facing the same issue after updating to the latest build, can you please guide me how to resolve this error ? |
Same problem here... I'm using the latest build (0.9.34). |
Similar issue. Either DEX build error, or run-time failure depending on which versions of @AlcantaraRW Connected issue: #1382 |
12-23 13:09:53.369 26779 26797 I Unity : InvalidOperationException: There was an error creating a GameServices object. Check for log errors from GamesNativeSDK
12-23 13:09:53.369 26779 26797 I Unity : at GooglePlayGames.Native.PInvoke.GameServicesBuilder.Build (GooglePlayGames.Native.PInvoke.PlatformConfiguration configRef) [0x0002d] in J:\FlyBy\Assets\GooglePlayGames\Platforms\Native\PInvo
ke\GameServicesBuilder.cs:186
12-23 13:09:53.369 26779 26797 I Unity : at GooglePlayGames.Native.NativeClient.InitializeGameServices () [0x000a6] in J:\FlyBy\Assets\GooglePlayGames\Platforms\Native\NativeClient.cs:189
12-23 13:09:53.369 26779 26797 I Unity : at GooglePlayGames.Native.NativeClient.Authenticate (System.Action
1 callback, Boolean silent) [0x00099] in J:\FlyBy\Assets\GooglePlayGames\Platforms\Native\NativeClient.cs:128 12-23 13:09:53.369 26779 26797 I Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action
1 callback, Boolean silent) [0x00026] in J:\FlyBy\Assets\GooglePlayGames\ISocialPlatform\PlayGamesPlatform.cs:30512-23 13:09:53.369 26779 26797 I Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action`1 callback) [0x00000] in J:\FlyBy\Assets\GooglePlayGames\ISocialPlatform\PlayGamesPlatform.cs:275
The text was updated successfully, but these errors were encountered: