universal-tools / UTNotificationsFeedback

7 stars 0 forks source link

NullReferenceException after upgrading Firebase from 5.7.0 to 6.0.0 #106

Closed edscodeblenders closed 5 years ago

edscodeblenders commented 5 years ago

My game was compiling fine with Firebase 5.7.0. After upgrading to Firebase 6.0.0 I'm getting the following error: NullReferenceException: Object reference not set to an instance of an object Google.VersionHandler.InvokeMethod (System.Type type, System.Object objectInstance, System.String methodName, System.Object[] args, System.Collections.Generic.Dictionary2[TKey,TValue] namedArgs) (at Z:/tmp/tmp.7eOCFUaXh7/third_party/unity/unity_jar_resolver/source/VersionHandler/src/VersionHandler.cs:506) Google.VersionHandler.InvokeStaticMethod (System.Type type, System.String methodName, System.Object[] args, System.Collections.Generic.Dictionary2[TKey,TValue] namedArgs) (at Z:/tmp/tmp.7eOCFUaXh7/third_party/unity/unity_jar_resolver/source/VersionHandler/src/VersionHandler.cs:481) UTNotifications.UTNotificationsDependencies.RegisterAndroidDependencies () (at Assets/UTNotifications/Editor/Android/UTNotificationsDependencies.cs:36) UTNotifications.UTNotificationsDependencies.RegisterDependencies () (at Assets/UTNotifications/Editor/Android/UTNotificationsDependencies.cs:20) UTNotifications.UTNotificationsDependencies.Update () (at Assets/UTNotifications/Editor/Android/UTNotificationsDependencies.cs:90) UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)

The Firebase change log mentions the following, not sure if it's related to the issue: General: Upgraded Play Services Resolver to from 1.2.104 to 1.2.109. For more information see this document.

What can we do in order to get this fixed?

yuriy-universal-ivanov commented 5 years ago

Hi @edscodeblenders ,

This issue is fixed in 1.8. You can send your Asset Store purchase receipt to universal.tools.contact@gmail.com and I'll send you the latest 1.8 beta build.

Best regards, Yuriy, Universal Tools team.

DavidLee0611 commented 5 years ago

I have the same issue exactly. I sent my receipt to universal.tools.contact@gmail.com from shiba.dobrain@gmail.com. Please reply it. Thanks :)

yuriy-universal-ivanov commented 5 years ago

Please note there is a known conflict between UTNotifications 1.8.1 and latest Firebase Unity SDK (6.2.1). We're working on a fix.

yuriy-universal-ivanov commented 5 years ago

Update: please see https://forum.unity.com/threads/released-utnotifications-professional-cross-platform-push-notifications-and-more.333045/page-17#post-4777697