Skip to content

NullReferenceException in Google.VersionHandler.InvokeMethod #209

Closed
@jyrkive

Description

@jyrkive

I experimented with upgrading my project from 1.2.105 to 1.2.110. The result was that we get this error on every startup:

System.NullReferenceException: Object reference not set to an instance of an object

  at Google.VersionHandler.InvokeMethod (System.Type type, System.Object objectInstance, System.String methodName, System.Object[] args, System.Collections.Generic.Dictionary`2[TKey,TValue] namedArgs) [0x00054] in /Users/smiles/dev/src/unity-jar-resolver/source/VersionHandler/src/VersionHandler.cs:506 

  at Google.VersionHandler.InvokeStaticMethod (System.Type type, System.String methodName, System.Object[] args, System.Collections.Generic.Dictionary`2[TKey,TValue] namedArgs) [0x00000] in /Users/smiles/dev/src/unity-jar-resolver/source/VersionHandler/src/VersionHandler.cs:481 

  at Facebook.Unity.Editor.AndroidSupportLibraryResolver.setupDependencies () [0x00034] in <10e3a2e9d4094bf5b9409184a698ff5e>:0 

  at Facebook.Unity.Editor.AndroidSupportLibraryResolver..cctor () [0x00000] in <10e3a2e9d4094bf5b9409184a698ff5e>:0 
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[])

Facebook SDK is at the latest stable version, 7.15.1. This issue didn't occur with Play Servcies Resolver v1.2.105.

I suspect that this issue is a regression from commit ea3e8d8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions