Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

ArgumentNullException: Value cannot be null. Parameter name: collection #189

Description

@AlexChesser

Steps to replicate:

  • unity version 2019.2.6f1 (windows)
  • new project (LWRP)
  • download & import GoogleAnalyticsV4_nobitcode.unitypackage
  • update android manifest per instructions

console error shows the following:

ArgumentNullException: Value cannot be null.
Parameter name: collection
System.ThrowHelper.ThrowArgumentNullException (System.ExceptionArgument argument) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
Google.JarResolver.ResolutionException..ctor (System.String msg, System.Collections.Generic.IEnumerable`1[T] missingDependencies) (at <2e7565b8c6384c7389346c91ccf60c3b>:0)
Google.JarResolver.PlayServicesSupport.FindCandidate (Google.JarResolver.Dependency dep, System.Collections.Generic.List`1[T] repoPaths, System.Boolean logMissing) (at <2e7565b8c6384c7389346c91ccf60c3b>:0)
Google.JarResolver.PlayServicesSupport.LoadDependencies (System.Collections.Generic.Dictionary`2[TKey,TValue] dependencies, System.Collections.Generic.List`1[T] repoPaths, System.Boolean keepMissing, System.Boolean findCandidates) (at <2e7565b8c6384c7389346c91ccf60c3b>:0)
Google.JarResolver.PlayServicesSupport.LoadDependencies (System.Boolean allClients, System.Boolean keepMissing, System.Boolean findCandidates) (at <2e7565b8c6384c7389346c91ccf60c3b>:0)
Google.JarResolver.PlayServicesSupport.FindMissingDependencyPaths (System.String destinationDirectory, System.Collections.Generic.Dictionary`2[System.String,System.String]& dependencyPaths, Google.JarResolver.PlayServicesSupport+ExplodeAar explodeAar) (at <2e7565b8c6384c7389346c91ccf60c3b>:0)
GooglePlayServices.ResolverVer1_1.DoResolutionUnsafe (Google.JarResolver.PlayServicesSupport svcSupport, System.String destinationDirectory, Google.JarResolver.PlayServicesSupport+OverwriteConfirmation handleOverwriteConfirmation, System.Action resolutionComplete) (at <2e7565b8c6384c7389346c91ccf60c3b>:0)
GooglePlayServices.ResolverVer1_1+<DoResolution>c__AnonStorey17.<>m__25 () (at <2e7565b8c6384c7389346c91ccf60c3b>:0)
GooglePlayServices.ResolverVer1_1.UpdateTryResolution () (at <2e7565b8c6384c7389346c91ccf60c3b>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:303)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions