-
Notifications
You must be signed in to change notification settings - Fork 428
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
[Bug] DllNotFoundException: FirebaseCppApp-8_1_0 assembly:<unknown assembly> type:<unknown type> member:(null) #1130
Comments
Hi @fruitdrawing, Thanks for reporting this issue. Since you're on a Mac, could you try going to your Settings > Security and Privacy and clicking Allow Anyway for Firebase to run? If this didn't resolve your issue, please provide a minimal, reproducible example of your project so that we can identify the cause of this behavior. |
Thank you for help @paulinon ! I have intel mac and m1 mac. on Intel mac, I can solve the issue with your solution.(hit play button and Allow anyway in Security and Privacy.) But on m1 mac I cannot click Allow Anyway Firebase button since there is no allow anyway button is activated in Security & privacy.(On intel Mac there was a mac's warning window to activate 'Allow' when I hit play button but m1 does not). So it keeps throwing same error message above. The project is just an empty Unity project with Auth and Firestore sdk. FirebaseFirestore db = FirebaseFirestore.DefaultInstance; |
Thanks for the clarification that this issue persists using the M1 Mac, @fruitdrawing. This looks like an issue similar to firebase/firebase-unity-sdk#278. I'll be closing this as a duplicate for now, but you may visit the mentioned ticket for updates. |
Duplicate of firebase/firebase-unity-sdk#278 |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
I get this error when I call any firebase functions in a project.
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.
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
What's the issue repro rate? (eg 100%, 1/5 etc)
100%
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
The text was updated successfully, but these errors were encountered: