Unity Freeze on play

Hello im trying to make a 3d game and unity seems to freeze when i hit play.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.TextCore;
using Firebase;
using Firebase.Database;
using Firebase.Unity.Editor;

public class DataBridge : MonoBehaviour
{
    public Player data;

    private string DATA_URL = "https://grind2survive-a237d.firebaseio.com/";

    private DatabaseReference databaseReference;

    private void Start()
    {
        FirebaseApp.DefaultInstance.SetEditorDatabaseUrl(DATA_URL);

        databaseReference = FirebaseDatabase.DefaultInstance.RootReference;

        SaveData();
    } 

    public void SaveData()
    {
        string token = "222222222222222222";
        data = new Player(token, 5);

        string jsonData = JsonUtility.ToJson(data);

        databaseReference.Child(token).
            SetRawJsonValueAsync(jsonData);
    }
    public void LoadData()
    {
        FirebaseDatabase.DefaultInstance.GetReferenceFromUrl(DATA_URL).GetValueAsync().ContinueWith(task =>
        {
            if (task.IsCompleted)
            {
                DataSnapshot snapshot = task.Result;

                string playerData = snapshot.GetRawJsonValue();
                foreach (var child in snapshot.Children)
                {
                    string t = child.GetRawJsonValue();

                    Player extractedData = JsonUtility.FromJson<Player>(t);
                    print("the player is " + extractedData.Token);
                    print("the player is " + extractedData.MaxHealth);
                }
            }
            if (task.IsFaulted)
            {

            }
            if (task.IsCanceled)
            {

            }

        });

    } 
}

when i comment out ` FirebaseApp.DefaultInstance.SetEditorDatabaseUrl(DATA_URL);

        databaseReference = FirebaseDatabase.DefaultInstance.RootReference;` from the start menu it works just fine.

same problem. did you solve it?