-
Notifications
You must be signed in to change notification settings - Fork 46
[Bug] DllNotFoundException: Unable to load DLL 'FirebaseCppApp-11_4_0' #856
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
Comments
This is a common issue with project configuration. What platform are you running on that is getting this error? Are all the Firebase SDKs that you are using the version at 11.4.0? |
@johntitor08 |
Have same error even on firebase database test project (https://github.com/firebase/quickstart-unity/tree/master/database/testapp) @Antonio-Gorisek not worked for me Unity editor version: 2022.3.8f1 Error: |
Hey @johntitor08. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
webgl |
Absolutely same here! Tried all found solutions. Reinstall SDK, Force Resolve, reinstall C++ redist nothing helps. This happens for me in editor with first request on any method from Firebase library from code in runtime. Unity editor version: 2022.3.8f1 DllNotFoundException: FirebaseCppApp-11_4_0 assembly: type: member:(null) Visual Studio do not see any problems with dll. All code is obtainable and higlighted. On screenshot there is a line that causes DLL exception. Help please. It happen only for me, all other teammates continue working good. Possible thing is that it started when i updated from VS 2019 to VS 2022. And installed Visual C++ redist 22. I'll check later and share the result |
yeah... i gave up to get webgl build and publish as downloadable
…________________________________
Gönderen: Andrii-Perevoznyi ***@***.***>
Gönderildi: 26 Eylül 2023 Salı 17:14
Kime: firebase/firebase-unity-sdk ***@***.***>
Bilgi: John Titor ***@***.***>; Mention ***@***.***>
Konu: Re: [firebase/firebase-unity-sdk] [Bug] DllNotFoundException: Unable to load DLL 'FirebaseCppApp-11_4_0' (Issue #856)
Unfortunately no success with my experiments. Only one option i have now that my Windows version after update becames to be incompatible with some of .Net things =(
—
Reply to this email directly, view it on GitHub<#856 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWW2T6C2VFVIPYMFYI4TO63X4LPMNANCNFSM6AAAAAA4K3Y2UM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
No need to make webgl build. Just wanted to make it alive in editor with
Android target platform
…On Wed, 27 Sept 2023, 03:06 John Titor, ***@***.***> wrote:
yeah... i gave up to get webgl build and publish as downloadable
________________________________
Gönderen: Andrii-Perevoznyi ***@***.***>
Gönderildi: 26 Eylül 2023 Salı 17:14
Kime: firebase/firebase-unity-sdk ***@***.***>
Bilgi: John Titor ***@***.***>; Mention ***@***.***>
Konu: Re: [firebase/firebase-unity-sdk] [Bug] DllNotFoundException: Unable
to load DLL 'FirebaseCppApp-11_4_0' (Issue #856)
Unfortunately no success with my experiments. Only one option i have now
that my Windows version after update becames to be incompatible with some
of .Net things =(
—
Reply to this email directly, view it on GitHub<
#856 (comment)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AWW2T6C2VFVIPYMFYI4TO63X4LPMNANCNFSM6AAAAAA4K3Y2UM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#856 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BC2TITP5MERFVV57LSEXOBDX4N3ZBANCNFSM6AAAAAA4K3Y2UM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Tried on my laptop. Works perfectly. Only differences are |
I don't know if anyone is still facing the same issue in the editor, but after numerous attempts, I managed to solve it by simply disabling my antivirus. After disabling my antivirus, Firebase worked fine. I then reactivated my antivirus and created a random project in Unity. I imported the FirebaseAppCheck SDK into it, added a script that called FirebaseApp.CheckAndFixDependenciesAsync, and dragged it into the scene to play. After completing these steps in the random project, I closed it and reopened the actual project where I was encountering the same issue. Surprisingly, when I returned to the actual project, it was playing nicely without encountering the error anymore. I can't guarantee that only disabling the antivirus, playing Unity Editor, and enabling it back will already solve it, but you can follow the same steps I've done |
Me too, my laptop met same error. But my team don't. |
@Nghidang14 In my case. it solved by installation of 'c++ redistributable 2022'. |
Hey folks, it looks like everybody might have similar problems with different resolutions. Please file a new issue with your concern so that we can cater to each developer's specific issue. That said, it does look like the issue has been resolved with the proposed fixes, so I'll go ahead and close this thread. |
[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.)
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)
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:
Error:
DllNotFoundException: Unable to load DLL 'FirebaseCppApp-11_4_0'. Tried the load the following dynamic libraries: Rethrow as TypeInitializationException: The type initializer for 'Firebase.AppUtilPINVOKE.SWIGExceptionHelper' threw an exception. Rethrow as TypeInitializationException: The type initializer for 'Firebase.AppUtilPINVOKE' threw an exception. Rethrow as TypeInitializationException: The type initializer for 'Firebase.LogUtil' threw an exception. Rethrow as TypeInitializationException: The type initializer for 'Firebase.FirebaseApp' threw an exception.
The text was updated successfully, but these errors were encountered: