- Home /
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!
Answer by donimation · Nov 07, 2016 at 05:08 PM
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 :) Case Closed
I had a similar problem which was fixed by reinstalling 5.4.2f1 but with the iOS Build Support packages as well. This meant that I now have UnityEditor.iOS.Extensions.dll on my machine which fixed the
FileNotFoundException: Could not load file or assembly 'UnityEditor.iOS.Extensions.Xcode, Version=1.0.0.0, Culture=neutral, Public$$anonymous$$eyToken=null' or one of its dependencies.
errors
I'm having the same debug warnings. I'm not sure if my problem is exactly related to those warnings but every time I press play in editor I have a lag spike of 3-5 seconds every time. After the lag spike those warning messages pop up. I can live with the debug warnings but the lag is really annoying in the long run. You didn't happen to run into this kind of behaviour after implementing the plugin?
@Purtsi Yes, same thing here. I get them after about 3 seconds.
Answer by Nicola-Patti · Dec 04, 2016 at 08:28 PM
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.
Your answer
Follow this Question
Related Questions
Stable Android Google Play version? 0 Answers
Google Play Services sign in not working well on Unity Android 1 Answer
Google+ authorization problem. 1 Answer
Unity4.6.1&Google Play Plugin Freeze Problem On Exit On Android 3 Answers
Google Play Games plugin introduces -Unable to find the Android SDK manager tool. - error 4 Answers