playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.46k stars 966 forks source link

I'm getting ERROR in [AndroidClient.cs AND IOSClient.cs] After updating to the last Commit 20/11/2014 #285

Closed omaxlive closed 9 years ago

omaxlive commented 9 years ago

Updated to: GooglePlayGamesPlugin-0.9.10.unitypackage Console: Assets/GooglePlayGames/Platforms/iOS/IOSClient.cs(134,9): error CS0246: The type or namespace name `BufferEncrypter' could not be found. Are you missing a using directive or an assembly reference?

file IOSClient.cs not recognizing the next namespace:

I can't run the game with this error... Any idea how to solve this?

jamesbrownnz commented 9 years ago

I too seem to be getting this error. Hoping to resolve this soon.

ToddKerpelman commented 9 years ago

Hmmm... sounds like you've got some leftover files from the older plugin. (You'll notice the new plugin doesn't have an iOSClient.cs file anymore!)

You might want to remove and re-install the plug-in to clear out any dead files. Backup your project, delete your GooglePlayGames folder, re-install the plug-in, and then go through the setup dialogs again. That's probably the cleanest way.

jamesbrownnz commented 9 years ago

Great! This resolved my issues.

Thank you very much!

omaxlive commented 9 years ago

EDIT: it's SOLVED, the problem was because I had duplicated the script named GameServices.cs

After reinstall the plugin as you said @SawnOffSausage I'm getting a lot of errors in NativeClient.cs Console: captura de pantalla 2014-11-26 a las 14 43 41