question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] System.DllNotFoundException : FirebaseCppApp-9_2_0 assembly:<unknown assembly> type:<unknown type> member:(null)

See original GitHub issue

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2021.3.4f1
  • Firebase Unity SDK version: 9.2.0
  • Source you installed the SDK: .unitypackage
  • Problematic Firebase Component: FirebaseApp
  • Other Firebase Components in use: Auth, Database, RemoteConfig, Crashlytics, pretty much all of them
  • Additional SDKs you are using: AppsFlyer, AppLovinMax
  • Platform you are using the Unity editor on: Linux
  • Platform you are targeting: Android
  • Scripting Runtime: IL2CPP
  • Pre-built SDK from the website

[REQUIRED] Please describe the issue here:

When running playtests that use the Firebase SDK through CICD with game.ci, I get the following issue:

System.TypeInitializationException : The type initializer for 'Firebase.FirebaseApp' threw an exception.
  ----> System.TypeInitializationException : The type initializer for 'Firebase.LogUtil' threw an exception.
  ----> System.TypeInitializationException : The type initializer for 'Firebase.AppUtilPINVOKE' threw an exception.
  ----> System.TypeInitializationException : The type initializer for 'SWIGExceptionHelper' threw an exception.
  ----> System.DllNotFoundException : FirebaseCppApp-9_2_0 assembly:<unknown assembly> type:<unknown type> member:(null)

The server runs Unity in a docker container on Ubuntu 22.04. My development machine has Ubuntu 22.04 as well and I don’t have this problem.

I’ve seen existing issues where this was happening on MacOS, but they seem to be resolved.

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:

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
estrandellcommented, Aug 22, 2022

Same issue on Firebase 9.4 and docker image editor-ubuntu-2021.3.7f1-android-1.0.1 from game-ci. I get this error on test-runner, the build step succeeds (after disabling test-runner), and it works on target device.

0reactions
google-oss-botcommented, Nov 15, 2022

Since there haven’t been any recent updates here, I am going to close this issue.

@dginovker if you’re still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workaround for System.DllNotFoundException bug - I'm Stuck
DllNotFoundException : ardk_client_platform assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) Niantic.
Read more >
DllNotFoundException: nanosockets assembly:<unknown ...
The Unity Editor 2022.2.7f1 is unable to find the Dll with the following error: > DllNotFoundException: nanosockets assembly:<unknown ...
Read more >
System.DllNotFoundException: libpcsclite.so.1 assembly ...
The PCSC library does not appear to explicitly support Android. In my experience, nugets that work with Xamarin.
Read more >
MediaInfo Library could not be loaded : r/sonarr
Hi all,. Within the last few days, I've started getting the warning “MediaInfo Library could not be loaded MediaInfo_New assembly:<unknown ...
Read more >
DllNotFoundException: InteractionSdk assembly:<unk...
DllNotFoundException : InteractionSdk assembly:<unknown assembly> type:<unknown type> member:(null) · Labels: · aa.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found