Play-games-plugin-for-unity: 'PlayGamesPlatform' doesn't exist in new Unity version

Created on 24 Jul 2016  Â·  5Comments  Â·  Source: playgameservices/play-games-plugin-for-unity

Hi

I just updated Unity to version 5.3.5p7 and the Playgamesplugin doesn't work anymore. For some reason it doesn't recognise the static class and I get:
"The name 'PlayGamesPlatform' does not exist in the current context" everytime I try to use "PlayGamesPlatform.xxx".

I tried reimporting all but with no luck.

Any help appreciated.
BR
Michael

Most helpful comment

Hi Jesse
I fixed it. After updating, I had to open Build Settings and select Android
as it haf reverted to Webplayer. Hopefully this also helps you.
BR
Michael

Den 25/07/2016 23.37 skrev "Jesse Villagomez" [email protected]:

I'm getting the same issue. Haven't found a way to fix it yet.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/playgameservices/play-games-plugin-for-unity/issues/1291#issuecomment-235093467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHvSNgMF5Od_SMRMv5vEMWwk5Y9ETsRJks5qZSyPgaJpZM4JTpt8
.

All 5 comments

Ok, something is fishy Unity doesn't recognise that I have the package imported correctly. For some reason I don't have the Window > Google Play Games menu-item anymore. Even if I delete and import the package once again.

Any thoughts?

I'm getting the same issue. Haven't found a way to fix it yet.

Hi Jesse
I fixed it. After updating, I had to open Build Settings and select Android
as it haf reverted to Webplayer. Hopefully this also helps you.
BR
Michael

Den 25/07/2016 23.37 skrev "Jesse Villagomez" [email protected]:

I'm getting the same issue. Haven't found a way to fix it yet.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/playgameservices/play-games-plugin-for-unity/issues/1291#issuecomment-235093467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHvSNgMF5Od_SMRMv5vEMWwk5Y9ETsRJks5qZSyPgaJpZM4JTpt8
.

Yep that was the problem. @EspectroDK thanks for the help!

Glad you got it resolved!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

toxikman picture toxikman  Â·  4Comments

hippogamesunity picture hippogamesunity  Â·  5Comments

SQuirkster picture SQuirkster  Â·  3Comments

bibbis picture bibbis  Â·  4Comments

Only4Gamers picture Only4Gamers  Â·  4Comments