Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Firebase with unity 2020.1.0b8

Discussion in 'Editor & General Support' started by Arcalise, May 14, 2020.

  1. Arcalise

    Arcalise

    Joined:
    Sep 27, 2019
    Posts:
    20
    Hey guys. I'm having a little trouble. Maybe this is simple but i cant get firebase to work with my version of unity.

    I get "Failed to read Firebase options from the app's resources. Either make sure google-services.json is included in your build or specify options explicitly." on the phones logcat

    Google-services.json is in the root directory. I've searched google for HOURS looking for a solution and nothing anyone else has said to try works. I've also made several fresh projects and followed firebase tutorials from the beginning very carefully. I'm not sure what else to do here :/
     
  2. razgames1

    razgames1

    Joined:
    May 1, 2015
    Posts:
    3
    did you manage to figure this out? im hitting the same issue. Logcat says Missing google_app_id. Firebase Analytics disabled. using unity 2020 as well.
    I have the google-services.json in there, doing some research. it seems unity is not copying across the google-services.xml on build.
    Been working on it all week without being able to resolve the issue....
     
  3. j0hka

    j0hka

    Joined:
    Mar 26, 2016
    Posts:
    14
    Getting the same issue, any solutions?
     
  4. razgames1

    razgames1

    Joined:
    May 1, 2015
    Posts:
    3
    Hey guys, after searching high and low, went on google forums, i found that you can add a line to the custom build gradle
    if you go to the following page https://firebase.google.com/docs/unity/setup and scroll down to 'Known Issues'
    there is a section which states
    Missing Firebase Android config file in Unity 2020.
    and the temporary work around to fix it is there.
    It is working for me now
     
    abrusleFDJ likes this.
  5. dkardell

    dkardell

    Joined:
    Aug 19, 2019
    Posts:
    1
    Is there a solution to getting Firebase to work in 2020.3.15f2?
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
  7. YousafGrewal

    YousafGrewal

    Joined:
    Jul 5, 2018
    Posts:
    17