Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fruitdrawing opened this issue Sep 6, 2021 · 8 comments

Comments

@fruitdrawing
Copy link

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.

@marwanzaky
Copy link

I encounter the same issue with:

Unity version : 2021.2.0b10 (M1)
MacBook Pro M1

@toseefhaiderkhansugguu
Copy link

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

@marwanzaky
Copy link

@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.

@fruitdrawing
Copy link
Author

@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.

@toseefhaiderkhansugguu
Copy link

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

@alkanyunus
Copy link

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

@toseefhaiderkhansugguu
Copy link

toseefhaiderkhansugguu commented Mar 17, 2022 via email

@alkanyunus
Copy link

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

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

No branches or pull requests

5 participants