firebase / firebase/quickstart-unity

[Bug] EntryPointNotFoundException: GetModuleFileName

Open
#1,150 14 comments 0 reactions 0 assignees View on GitHub
type: bug unity-editor
Dominant language
C#
Stars
923
Forks
456
PR merge metrics
No merged PRs in 30d

Description

### [REQUIRED] Please fill in the following fields:

* Unity editor version: 2019.4.24f1
* Firebase Unity SDK version: 8.0.0
* Source you installed the SDK: .unitypackage (.unitypackage or Unity Package Manager)
* Problematic Firebase Component: Editor (Auth, Database, etc.)
* Other Firebase Components in use: Analytics (Auth, Database, etc.)
* Additional SDKs you are using: Many. GPG, Facebook, Mopub, Helpshift, Pushwoosh. (Facebook, AdMob, etc.)
* Platform you are using the Unity editor on: Mac (Mac, Windows, or Linux)
* Platform you are targeting: iOS, Android, Amazon (iOS, Android, and/or desktop)
* Scripting Runtime: IL2CPP (Mono, and/or IL2CPP)

### [REQUIRED] Please describe the issue here:

Whenever an asset is refreshed the Firebase SDK tries to call `GenerateXmlFromGoogleServicesJson` which eventually results an `EntryPointNotFoundException: GetModuleFileName`.

#### Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? No.
What's the issue repro rate? (eg 100%, 1/5 etc) In my project I get multiple errors whenever I build the project.

What happened? How can we make the problem occur?
This will occur just building my project. I have attached the exception stack to the ticket.

The project is a commercial project and i'm unable to reproduce with the samples. If you could give me some indicators as what it might be then I could try and get it to happen in the samples. Right now, I just don't understand the error.

[EntryPointNotFoundException.txt](https://github.com/firebase/quickstart-unity/files/7268386/EntryPointNotFoundException.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.