Search Unity

GooglePlayServices causing huge console spam with Firebase

Discussion in 'Formats & External Tools' started by deliriumz, Apr 11, 2017.

  1. deliriumz

    deliriumz

    Joined:
    Aug 22, 2012
    Posts:
    34
    I've got the Firebase packages : Messaging & analytics installed in our project. All files are updated to the latest version available "see image"

    I have latest Google Play Games plugin 0.9.37 as well. I can make builds, and the game runs, but my editor is churning log errors nonstop, both runtime and just in the editor. It's clearly trying to access something, but I have no clue what I could be missing;





    Any help would be greatly appreciated, because I'm pretty blocked at this point :(
     
  2. mdbtfw

    mdbtfw

    Joined:
    Apr 28, 2020
    Posts:
    3
    We ran into this problem as well and discovered that somehow verbose logging got turned on during some plugin upgrade at some point.

    Look for ProjectSettings/GvhProjectSettings.xml and make sure none of the VerboseLogging settings are True:

    Code (csharp):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <projectSettings>
    3.   <projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
    4.   <projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
    5.   <projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="False" />
    6.   <projectSetting name="Google.VersionHandler.VersionHandlingEnabled" value="True" />
    7.   <projectSetting name="GooglePlayServices.AutoResolverEnabled" value="False" />
    8.   <projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
    9.   <projectSetting name="GooglePlayServices.UseJetifier" value="True" />
    10. </projectSettings>
     
    yyylny likes this.
  3. yyylny

    yyylny

    Joined:
    Sep 19, 2015
    Posts:
    93
    Just adding that ProjectSettings/GvhProjectSettings.xml should be located in your project's folder, not the Assets folder. Took me a while to realize this :)