Hi.
I started to make some game with real time database. But i got error when i use “using Firebase.Unity.Editor;”. I search a lot but nothing help me. I tried to move Editor in files but nothing. Am I missing something?
Try to reimport Firebase unitypackages again,
Make sure that you import plugins from dotnet4 floder
I have the same error, now you have a solution?
Hello, I have the same issue as above. Have you solved this error?,hello, I have the same issue as above. Have you solved this error?
Same error after update to Firebase SDK 7.1.0 on Unity 2020.3.0f1
using Firebase.Unity.Editor: is deprecated in latest firebase unity sdk. please comment it.
Step for initialization firebase: create script DBAPI.cs (if any).
bool isFirebaseInitialized = false;
void Awake(){FirebaseInit();}
void FirebaseInit()
{
var dependencyResult = await FirebaseApp.CheckAndFixDependenciesAsync();
if(dependencyResult == DependencyStatus.Available)
{
app = Firebase.FirebaseApp.DefaultInstance;
isFirebaseInitialized = true;
// Set a flag here to indicate whether Firebase is ready to use by your app.
}
else
{
UnityEngine.Debug.LogError(System.String.Format(
"Could not resolve all Firebase dependencies: {0}", dependencyStatus));
isFirebaseInitialized = false;
// Firebase Unity SDK is not safe to use here.
}
}