firebase-unity-sdk
                                
                                 firebase-unity-sdk copied to clipboard
                                
                                    firebase-unity-sdk copied to clipboard
                            
                            
                            
                        DllNotFoundException: FirebaseCppApp-8_1_0 assembly: type: member:(null)
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.
I encounter the same issue with:
Unity version : 2021.2.0b10 (M1) MacBook Pro M1
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 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.
@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.
Yes its a problem with the M1 chip wait for the update
No popup shows up M1 Unity 2021.2.15f1? Waiting for update
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: @.***>
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