firebase-unity-sdk icon indicating copy to clipboard operation
firebase-unity-sdk copied to clipboard

DllNotFoundException: FirebaseCppApp-8_1_0 assembly: type: member:(null)

Open fruitdrawing opened this issue 4 years ago • 8 comments

I get this error when I call any firebase functions in a project.

Unity version : 2021.2.0b9 MacBook Air m1

DllNotFoundException: FirebaseCppApp-8_1_0 assembly: type: member:(null) Firebase.AppUtilPINVOKE+SWIGExceptionHelper..cctor () (at Z:/tmp/tmp.9PHv6s9T8D/firebase/app/client/unity/proxy/AppUtilPINVOKE.cs:117) Rethrow as TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. Firebase.AppUtilPINVOKE..cctor () (at Z:/tmp/tmp.9PHv6s9T8D/firebase/app/client/unity/proxy/AppUtilPINVOKE.cs:137) Rethrow as TypeInitializationException: The type initializer for 'Firebase.AppUtilPINVOKE' threw an exception. Firebase.AppUtil.SetLogFunction (Firebase.LogUtil+LogMessageDelegate arg0) (at Z:/tmp/tmp.9PHv6s9T8D/firebase/app/client/unity/proxy/AppUtil.cs:64) Firebase.LogUtil..ctor () (at Z:/tmp/tmp.9PHv6s9T8D/firebase/app/client/unity/proxy/LogUtil.cs:81) Firebase.LogUtil..cctor () (at Z:/tmp/tmp.9PHv6s9T8D/firebase/app/client/unity/proxy/LogUtil.cs:37) Rethrow as TypeInitializationException: The type initializer for 'Firebase.LogUtil' threw an exception. Firebase.FirebaseApp..cctor () (at Z:/tmp/tmp.9PHv6s9T8D/firebase/app/client/unity/proxy/FirebaseApp.cs:67) Rethrow as TypeInitializationException: The type initializer for 'Firebase.FirebaseApp' threw an exception.

fruitdrawing avatar Sep 06 '21 07:09 fruitdrawing

I encounter the same issue with:

Unity version : 2021.2.0b10 (M1) MacBook Pro M1

marwanzaky avatar Sep 09 '21 01:09 marwanzaky

I had same issue once , all u need to reimport plugin , when you click on play in unity editor it will generate a pop up about FirebaseCppApp-8_1_0 don't do anything just cancel it and go to your privacy settings in MAC allow access of FirebaseCppApp now play again you will see a popup now click open . error resolved

toseefhaiderkhansugguu avatar Sep 10 '21 14:09 toseefhaiderkhansugguu

@toseefhaiderkhansugguu the issue is it doesn't pop up the message on the native Apple Silicon version. only if I try this on the intel versions.

marwanzaky avatar Sep 10 '21 14:09 marwanzaky

@toseefhaiderkhansugguu the issue is it doesn't pop up the message on the native Apple Silicon version. only if I try this on the intel versions.

Exactly same issue here. Need some update for M1.

fruitdrawing avatar Sep 11 '21 00:09 fruitdrawing

Yes its a problem with the M1 chip wait for the update

toseefhaiderkhansugguu avatar Sep 12 '21 08:09 toseefhaiderkhansugguu

No popup shows up M1 Unity 2021.2.15f1? Waiting for update

alkanyunus avatar Mar 17 '22 09:03 alkanyunus

You can allow Firebase access in system prefrences ->security&privacy sometimes MAC OS blocks third party sdk

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Yunus Alkan @.> Sent: Thursday, March 17, 2022 2:41:10 PM To: firebase/firebase-unity-sdk @.> Cc: Toseef Haider Khan Sugguu @.>; Mention @.> Subject: Re: [firebase/firebase-unity-sdk] DllNotFoundException: FirebaseCppApp-8_1_0 assembly: type: member:(null) (#53)

No popup shows up M1 Unity 2021.2.15f1? Waiting for update

— Reply to this email directly, view it on GitHubhttps://github.com/firebase/firebase-unity-sdk/issues/53#issuecomment-1070653817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARBL4MLQQWEDY3IWSAPHPQDVAL43NANCNFSM5DP2HSBQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

toseefhaiderkhansugguu avatar Mar 17 '22 09:03 toseefhaiderkhansugguu

You can allow Firebase access in system prefrences ->security&privacy sometimes MAC OS blocks third party sdk Get Outlook for Androidhttps://aka.ms/AAb9ysg ________________________________ From: Yunus Alkan @.> Sent: Thursday, March 17, 2022 2:41:10 PM To: firebase/firebase-unity-sdk @.> Cc: Toseef Haider Khan Sugguu @.>; Mention @.> Subject: Re: [firebase/firebase-unity-sdk] DllNotFoundException: FirebaseCppApp-8_1_0 assembly: type: member:(null) (#53) No popup shows up M1 Unity 2021.2.15f1? Waiting for update — Reply to this email directly, view it on GitHub<#53 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARBL4MLQQWEDY3IWSAPHPQDVAL43NANCNFSM5DP2HSBQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

No it doesnt show on security>privacy

alkanyunus avatar Mar 17 '22 09:03 alkanyunus