DLLNotFoundException when trying to import Firebase project
Hi All,
I downloaded firebase empty project from: https://github.com/benwulfe/firebase-unity and loaded it into my Unity (Ver 5.3)
And i get this error:
System.DllNotFoundException: Assets/Plugins/Editor/FirebaseProxy.dll at (wrapper managed-to-native) FirebaseEditorImpl:_FirebaseSetCallbacks (QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/debugLogHandler,QueryEditorImpl/onAuthSuccessHandler,QueryEditorImpl/onAuthCancelHandler,QueryEditorImpl/onErrorHandler) at FirebaseEditorImpl.Initialize () [0x00010] in C:\Users\lior\Documents\Firebase-Unity\empty-project\Assets\Plugins\Editor\FirebaseEditorImpl.cs:233 at Startup..cctor () [0x00032] in C:\Users\lior\Documents\Firebase-Unity\empty-project\Assets\Plugins\Editor\Startup.cs:48 UnityEditor.EditorAssemblies:SetLoadedEditorAssemblies(Assembly[])
Can someone please tell me what am i doing wrong?
Thanks in advance!!
Answer by Chevtaev · Feb 04, 2016 at 04:47 PM
Same problem (Unity ver 5.2.2f1) System.DllNotFoundException: FirebaseProxy at (wrapper managed-to-native) FirebaseEditorImpl:_FirebaseSetCallbacks (QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/onValueChangedEventHandler,QueryEditorImpl/debugLogHandler,QueryEditorImpl/onAuthSuccessHandler,QueryEditorImpl/onAuthCancelHandler,QueryEditorImpl/onErrorHandler) at FirebaseEditorImpl.Initialize () [0x00010] in E:...\Assets\Plugins\Editor\FirebaseEditorImpl.cs:218 at Startup..cctor () [0x00032] in E:...\Assets\Plugins\Editor\Startup.cs:33 UnityEditor.EditorAssemblies:SetLoadedEditorAssemblies(Assembly[])
I'm using C#, if it has a reason.
Don't know what to do.
FYI, i also added issue in the GITHub page: https://github.com/firebase/Firebase-Unity/issues/12
You should add the path to jvm.dll like "c:\Program Files\Java\jdk1.8.0_40\jre\bin\server" in the PATH environment value and restart Unity. (!) Unfortunately this Firebase plugin does not work with PC builds for now.