Play-games-plugin-for-unity: Invalid classname

Created on 22 May 2016  路  8Comments  路  Source: playgameservices/play-games-plugin-for-unity

Getting error at setup:
I have given constant class name: GPGSIds
And copy my resource, but I get this error:

Invalid classname: an exception was thrown by the type initializer for GooglePlayGame.Editor.GPGSDependence

All 8 comments

Can you share the call stack of the exception? Which version of Unity and the plugin are using?

Unity 5.3.4
GPGS 0.9.33
I updated SDK. Error has been gone. Thanks @claywilkinson .

I'm seeing this as well after trying to update the package.
v0.9.33
Unity 5.3.5f1
screenshot

I've tried removing all the files from GooglePlayGames ,PlayServicesResolver along with the loose files under Plugins/Android; and reinstalling to no avail.

oops, updating _Android_ SDK fixed it

Hmm... i'm getting this too...
v 0.9.34
Unity latest... 5.something...
i think i have installed the latest android sdk with the play services...
i guess what i don't see in my project is any plugin containing the actual play services stuff...
com.google.android.gms",
"play-services-games
etc....
should that be in the plugins directory ?

...
actually on a fresh project ... i get this error when switching from iOS to android for the first time

"
Google.JarResolver.ResolutionException: Cannot find candidate artifact for com.google.android.gms:play-services-games:9+
at Google.JarResolver.PlayServicesSupport.DependOn (System.String group, System.String artifact, System.String version) [0x00000] in :0
at GooglePlayGames.Editor.GPGSDependencies.RegisterDependencies () [0x00000] in /Users/administrator/Documents/Unity/RiverRun/Test GPGS/Assets/GooglePlayGames/Editor/GPGSDependencies.cs:57
at GooglePlayGames.Editor.GPGSDependencies..cctor () [0x00028] in /Users/administrator/Documents/Unity/RiverRun/Test GPGS/Assets/GooglePlayGames/Editor/GPGSDependencies.cs:49
UnityEditor.EditorAssemblies:SetLoadedEditorAssemblies(Assembly[])
"

Thanks...

@rossstyants i have the same problem ... could u find any solution?

same here as @rossstyants

Was this page helpful?
0 / 5 - 0 ratings