- Home /
Firebase namespace not found in Unity
When I'm trying to build my unity project for WebGL, I'm getting the below error. I don't get this error when I'm trying to build for Android.
The type or namespace name 'Firebase' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'FirebaseAuth' could not be found (are you missing a using directive or an assembly reference?)
I"m using Unity 2018.4.10f1
Appreciate any help to resolve this.
Don't know if this would help but I ran into the same problem with you and it turns out I didn't install the right version of firebase packages. I changed my configuration to .net4 which matches my installed firebase package and problem resolved.
Answer by AconitumNapellum · Nov 04, 2019 at 10:33 AM
A simple google search will tell you that Firebase SDK only works on iOS and Android
Yes, I also have this issue, but how to prevent firebase while build WebGL?
Answer by puap · Apr 11, 2020 at 12:08 AM
There is a Unity SDK and it works with 2018.4. I just ran into this issue a couple of months ago. Once you have installed the SDK and followed all the instructions on their site you have to re-run the Play Services Resolver under the Assets menu.
That should get you up and going.
Your answer
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Webplayer not recognized in IE and Facebook 1 Answer
ChangeLog unity webplayer 3.4.2f3 1 Answer
Webplayer quality is lousy. 1 Answer
WebPlayer flickers, slow, for OSX 10.5.8 and Chrome 17.0.963.38 0 Answers