Build finished after Google Play Games plugin setup but gives 2 FileNotFoundException (s) Should I be worried?

Hello everyone,

I’ve been trying to get the Google Play Games plugin from GitHub to work in a test project in order to try out a Leaderboards asset I got from the store. The steps I’ve taken so far are mentioned in detail in a recent post here.

About the only thing I haven’t tried yet is to update from Unity 5.3.1 to 5.4.1 but to avoid another potential “can of worms” I’m saving that as last resort and wanted to get a second opinion first.

So far, I can build a signed APK that the Google Dev. Console accepts, and can even deploy to a test device, but I’m still getting the following Errors, and Warning logs:

FileNotFoundException: Could not load file or assembly 'UnityEditor.iOS.Extensions.Xcode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
UnityEditor.HostView:OnGUI()

FileNotFoundException: Could not load file or assembly 'UnityEditor.iOS.Extensions.Xcode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Google.IOSResolver..cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Google.IOSResolver
UnityEditor.HostView:OnGUI()

Resolver version is now: 10101
UnityEngine.Debug:Log(Object)
GooglePlayServices.PlayServicesResolver:RegisterResolver(IResolver)
GooglePlayServices.ResolverVer1_1:.cctor()
UnityEditor.EditorAssemblies:SetLoadedEditorAssemblies(Assembly[])

WARNING: No compatible versions of com.android.support:support-v4 required by (com.google.android.gms:play-services-basement:9.8.0), will try using the latest version 24.0.0
UnityEngine.Debug:Log(Object)
Google.JarResolver.PlayServicesSupport:Log(String, Boolean)
Google.JarResolver.PlayServicesSupport:ResolveDependencies(Boolean)
GooglePlayServices.ResolverVer1_1:DoResolutionNoAndroidPackageChecks(PlayServicesSupport, String, OverwriteConfirmation)
GooglePlayServices.<DoResolution>c__AnonStorey1:<>m__0()
GooglePlayServices.ResolverVer1_1:DoResolution(PlayServicesSupport, String, OverwriteConfirmation, Action)
GooglePlayServices.PlayServicesResolver:Resolve(Action)
GooglePlayServices.PlayServicesResolver:AutoResolve()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

WARNING: No compatible versions of com.android.support:support-annotations required by (com.android.support:support-v4:23.1+, com.android.support:support-v4:24.0.0), will try using the latest version 24.0.0
UnityEngine.Debug:Log(Object)

Q:

  • Should I go ahead an try to import the Leaderboards plugin despite these Errors/Warnings?
  • Would an update from Unity 5.3.1 to 5.4.1 be likely to resolve said Warnings?

Thank you for reading; Any advice/opinion on the mater is appreciated!

I had the same problem building for Android platforms. I’ve resolved the problem selecting the menu: Build Settings → iOS platform and downloading/installing the iOS SDK. After that i did not receive errors nor warnings.

Updating to the latest version of the Unity Editor (5.4.2) seems to have removed 2 errors leaving me with just the 3 Warning Logs:

Resolver version is now: 10101
UnityEngine.Debug:Log(Object)
GooglePlayServices.PlayServicesResolver:RegisterResolver(IResolver)
GooglePlayServices.ResolverVer1_1:.cctor()
UnityEditor.EditorAssemblies:SetLoadedEditorAssemblies(Assembly[])

WARNING: No compatible versions of com.android.support:support-v4 required by (com.google.android.gms:play-services-basement:9.8.0), will try using the latest version 24.0.0
UnityEngine.Debug:Log(Object)
Google.JarResolver.PlayServicesSupport:Log(String, Boolean)
Google.JarResolver.PlayServicesSupport:ResolveDependencies(Boolean)
GooglePlayServices.ResolverVer1_1:DoResolutionNoAndroidPackageChecks(PlayServicesSupport, String, OverwriteConfirmation)
GooglePlayServices.<DoResolution>c__AnonStorey1:<>m__0()
GooglePlayServices.ResolverVer1_1:DoResolution(PlayServicesSupport, String, OverwriteConfirmation, Action)
GooglePlayServices.PlayServicesResolver:Resolve(Action)
GooglePlayServices.PlayServicesResolver:AutoResolve()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

WARNING: No compatible versions of com.android.support:support-annotations required by (com.android.support:support-v4:23.1+, com.android.support:support-v4:24.0.0), will try using the latest version 24.0.0
UnityEngine.Debug:Log(Object)
Google.JarResolver.PlayServicesSupport:Log(String, Boolean)
Google.JarResolver.PlayServicesSupport:ResolveDependencies(Boolean)
GooglePlayServices.ResolverVer1_1:DoResolutionNoAndroidPackageChecks(PlayServicesSupport, String, OverwriteConfirmation)
GooglePlayServices.<DoResolution>c__AnonStorey1:<>m__0()
GooglePlayServices.ResolverVer1_1:DoResolution(PlayServicesSupport, String, OverwriteConfirmation, Action)
GooglePlayServices.PlayServicesResolver:Resolve(Action)
GooglePlayServices.PlayServicesResolver:AutoResolve()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

I guess it’s always a good idea to stay up to date with the latest Unity Editor :slight_smile:
Case Closed