Firebase is back at Google I/O on May 10! Register now

Learn about Unity and Firebase

Stay organized with collections Save and categorize content based on your preferences.

As you’re developing your Unity project using Firebase, you might discover concepts that are unfamiliar or specific to Firebase. This page aims to answer those questions or point you to resources to learn more.

Feel free to visit one of our online communities if you have questions about a topic not covered on this page. We’ll also update this page with new topics periodically, so check back to see if we’ve added the topic you want to learn about!

Firebase library support by platform

The following table describes which Firebase libraries are compatible with which platforms. Currently, desktop platforms are only officially supported in the Unity Editor to facilitate development workflows.

Platform Android iOS tvOS macOS
A/B Testing v10.4.0+
Analytics v10.4.0+
App Distribution v10.4.0+
Authentication v10.4.0+
Cloud Firestore v10.4.0+
Cloud Functions v10.4.0+
Cloud Messaging v10.4.0+
Cloud Storage v10.4.0+
Crashlytics v10.4.0+
Dynamic Links
Realtime Database v10.4.0+
Remote Config v10.4.0+

Google services – config files

As part of adding Firebase to your Unity project, you need to add a Firebase configuration file:

  • For Apple platforms: add GoogleService-Info.plist.
  • For Android: add google-services.json.
  • For desktop: add one or both of these config files, depending on the platforms you're developing for.

If you want to use multiple Firebase projects in a single app, visit the documentation for configuring multiple projects.

Open source resources for the Firebase Unity SDK

Firebase supports open source development, and we encourage contributions and feedback.

Firebase SDKs

The open source Unity SDKs are available in our GitHub repository.

Note the following about how we build the Unity SDKs for Firebase:

  • The Unity SDKs are built on top of the open source C++ SDKs.
  • The C++ SDKs are in-turn built on top of the open source iOS SDKs and Android SDKs.

Quickstart samples

Firebase maintains a collection of quickstart samples for Firebase APIs on Unity. Find these quickstarts in our public Firebase GitHub quickstart repository.

You can open each quickstart in Unity, then run them on a mobile device or in the Unity editor. Or you can use these quickstarts as example code for using Firebase SDKs.


MechaHamster is an open source game built in Unity that demonstrates a number of Firebase features in a released game, including Google Analytics, Authentication, Realtime Database, Cloud Messaging, Crashlytics, Remote Config, Cloud Storage, Cloud Functions, and Test Lab. It’s available in our Firebase GitHub repository.

Firebase Unity Solutions

Firebase Unity Solutions is a repository containing a number of open source utilities to help Unity developers achieve common tasks with Firebase. Current solutions include a leaderboard implementation and a utility to create and sync Firebase Remote Config configurations directly from the Unity editor. It’s available in our Firebase GitHub repository.