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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

I want to use Firebase Realtime Database in my Unity3D game

Discussion in 'Editor & General Support' started by TalhaDX, Dec 13, 2016.

  1. TalhaDX

    TalhaDX

    Joined:
    Feb 2, 2013
    Posts:
    94
    I get error on Database connectivity line:

    FirebaseApp.DefaultInstance.SetEditorDatabaseUrl ("https:MY-APP.firebaseio.com/");

    Log:

    DllNotFoundException: App
    Firebase.AppUtilPINVOKE+SWIGExceptionHelper..cctor ()
    Rethrow as TypeInitializationException: An exception was thrown by the type initializer for SWIGExceptionHelper
    Firebase.AppUtilPINVOKE..cctor ()
    Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Firebase.AppUtilPINVOKE
    Firebase.AppUtil.SetEnabledAllAppCallbacks (Boolean arg0)
    Firebase.FirebaseApp+FirebaseHandler.Create ()
    Firebase.FirebaseApp.get_DefaultInstance ()
    QuestionManager.Start () (at
     
  2. ozergul

    ozergul

    Joined:
    May 3, 2016
    Posts:
    11
    I have same error.
     
  3. TalhaDX

    TalhaDX

    Joined:
    Feb 2, 2013
    Posts:
    94
    Do share when you figure out something. I have quit using Firebase, using custom Json for my work
     
  4. Dustin-Horne

    Dustin-Horne

    Joined:
    Apr 4, 2013
    Posts:
    4,568
    You
    It looks like your connection string is inncorrect... your URI is missing the "//" after https.
     
  5. mustafaoyundatr

    mustafaoyundatr

    Joined:
    Jun 21, 2019
    Posts:
    1
  6. TalhaDX

    TalhaDX

    Joined:
    Feb 2, 2013
    Posts:
    94
    can not get it :) I guess it is Russian