EvilMindDevs / hms-sdk-unity

Unity C# wrapper SDK for Huawei Mobile Services kits.
MIT License
25 stars 23 forks source link

NullObjectReference when printing AuthHuaweiId #32

Closed m0skit0 closed 4 years ago

m0skit0 commented 4 years ago

NullReferenceException: Object reference not set to an instance of an object at HuaweiMobileServices.Utils.AndroidJavaObjectExtensions.AsString (UnityEngine.AndroidJavaObject javaString) [0x0000b] in <79c9a00a9e864f749496b4caf8f3e43f>:0 at HuaweiMobileServices.Id.AuthHuaweiId.get_Uid () [0x00015] in <79c9a00a9e864f749496b4caf8f3e43f>:0 at StartScript.PrintAccount (HuaweiMobileServices.Id.AuthHuaweiId account) [0x00000] in <cae6ea9c16dc47fe865ee14c18f8ff7b>:0 at StartScript.OnSuccess (HuaweiMobileServices.Id.AuthHuaweiId account) [0x00019] in <cae6ea9c16dc47fe865ee14c18f8ff7b>:0 at HuaweiAccountManager.OnSignedSuccess (HuaweiMobileServices.Id.AuthHuaweiId authId) [0x00011] in <cae6ea9c16dc47fe865ee14c18f8ff7b>:0 at HuaweiMobileServices.Id.HuaweiIdAuthService+<>c__DisplayClass2_0.<StartSignIn>b__1 (HuaweiMobileServices.Id.AuthHuaweiId authHuaweiId) [0x00001] in <79c9a00a9e864f749496b4caf8f3e43f>:0 at HuaweiMobileServices.Base.OnSuccessListenerConverterWrapper1[T].onSuccess