- Home /
Can I build for WebGL with Firebase Analytics?
I added Firebase Analytics to my project. I build it for Android with no problems, but when I try to create a WebGL build, I get the following error:
Assets/Tracker.cs(4,7): error CS0246: The type or namespace name `Firebase' could not be found. Are you missing an assembly reference?
Line 4 of Tracker.cs is: using Firebase.Analytics;
Does it mean I can't run a WebGL build any more? Is there a way of building a WebGL version of the game, even at the cost of not including the analytics in it?
Answer by ACCACORE · Mar 04, 2021 at 12:13 PM
You ca with this Api it is a new asset, which supports a lot already! Auth | Analytics | Firestore | Functions
https://assetstore.unity.com/packages/tools/network/api-for-firebase-189910
Your answer
Follow this Question
Related Questions
question about unity analytics 0 Answers
WebGL a black screen on some mobile phones? 0 Answers
video-audio not playing in build (i tried webgl and android) 0 Answers
WebGL set up server to receive messages from android app 0 Answers
ARCore Face Tracking 0 Answers