Windows x86 support for Unity Editor
Hi, I am doing all samples in this guide but get same exception in all projects, following step by step. I have Unity 5.6.1f1, Firebase Unity SDK 4.0.1
InitializationException: A Firebase shared library (.dll / .so) could not be loaded. Firebase is distributed with native (C/C++) dependencies that are required by the SDK.
It's possible that parts of Firebase SDK have been removed from your Unity project.
To resolve the problem, try re-importing your Firebase plugins and building again.
Alternatively, you may be trying to use Firebase on an unsupported platform. See the Firebase website for the list of supported platforms.
Firebase.FirebaseApp.TranslateDllNotFoundException (System.Action closureToExecute) Firebase.FirebaseApp+FirebaseHandler.Create () Firebase.FirebaseApp.get_DefaultInstance () Firebase.Analytics.FirebaseAnalytics..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Firebase.Analytics.FirebaseAnalytics UIHandler.InitializeFirebase () (at Assets/TestApp/UIHandler.cs:66) UIHandler.Start () (at Assets/TestApp/UIHandler.cs:52)
That error will occur if the DLL's for the various Firebase libraries are missing. They should be under Plugins/{platform}/Firebase, for example the desktop stub for FirebaseApp is Plugins/x86_64/Firebase/App.dll. They should also have the correct platforms selected (Editor/Standalone under x86_64, iOS under the iOS folder, etc).
If those files are missing, reimport the UnityPackage and make sure that the Plugin directory is being included. If those files are there, make sure they have the correct platforms selected.
If that doesn't work, please let me know, along with what platform you are seeing this error on.
On Sun, Jun 18, 2017 at 11:06 AM, malkavien [email protected] wrote:
Hi, I am doing all samples in this guide but get same exception in all projects, following step by step. I have Unity 5.6.1f1, Firebase Unity SDK 4.0.1
InitializationException: A Firebase shared library (.dll / .so) could not be loaded. Firebase is distributed with native (C/C++) dependencies that are required by the SDK.
It's possible that parts of Firebase SDK have been removed from your Unity project.
To resolve the problem, try re-importing your Firebase plugins and building again.
Alternatively, you may be trying to use Firebase on an unsupported platform. See the Firebase website for the list of supported platforms.
Firebase.FirebaseApp.TranslateDllNotFoundException (System.Action closureToExecute) Firebase.FirebaseApp+FirebaseHandler.Create () Firebase.FirebaseApp.get_DefaultInstance () Firebase.Analytics.FirebaseAnalytics..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Firebase.Analytics.FirebaseAnalytics UIHandler.InitializeFirebase () (at Assets/TestApp/UIHandler.cs:66) UIHandler.Start () (at Assets/TestApp/UIHandler.cs:52)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <firebase/firebase-unity-sdk#271>, or mute the thread https://github.com/notifications/unsubscribe-auth/AKLyPcQJeWYMTnBbpX4LnVUy0RMPL55Qks5sFWcZgaJpZM4N9kDY .
I should add, if you are seeing this on Android, the fix is a bit different. For Android, we use the "Play Services Resolver" to set up the .so files. To confirm the settings, you can go to Assets > Android Resolver > Settings. I recommend having checked: "Enable Auto-Resolution", "Install Android Packages", and "Explode AARs". If you don't want to enable auto-resolution, you can do it manually by going to Assets > Android Resolver > Resolve Client Jars.
Hopefully my prior message or this one helps fix the issue you are seeing, but please let us know if it doesn't. -Anthony
On Mon, Jun 19, 2017 at 2:35 PM, Anthony Maurice [email protected] wrote:
That error will occur if the DLL's for the various Firebase libraries are missing. They should be under Plugins/{platform}/Firebase, for example the desktop stub for FirebaseApp is Plugins/x86_64/Firebase/App.dll. They should also have the correct platforms selected (Editor/Standalone under x86_64, iOS under the iOS folder, etc).
If those files are missing, reimport the UnityPackage and make sure that the Plugin directory is being included. If those files are there, make sure they have the correct platforms selected.
If that doesn't work, please let me know, along with what platform you are seeing this error on.
On Sun, Jun 18, 2017 at 11:06 AM, malkavien [email protected] wrote:
Hi, I am doing all samples in this guide but get same exception in all projects, following step by step. I have Unity 5.6.1f1, Firebase Unity SDK 4.0.1
InitializationException: A Firebase shared library (.dll / .so) could not be loaded. Firebase is distributed with native (C/C++) dependencies that are required by the SDK.
It's possible that parts of Firebase SDK have been removed from your Unity project.
To resolve the problem, try re-importing your Firebase plugins and building again.
Alternatively, you may be trying to use Firebase on an unsupported platform. See the Firebase website for the list of supported platforms.
Firebase.FirebaseApp.TranslateDllNotFoundException (System.Action closureToExecute) Firebase.FirebaseApp+FirebaseHandler.Create () Firebase.FirebaseApp.get_DefaultInstance () Firebase.Analytics.FirebaseAnalytics..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Firebase.Analytics.FirebaseAnalytics UIHandler.InitializeFirebase () (at Assets/TestApp/UIHandler.cs:66) UIHandler.Start () (at Assets/TestApp/UIHandler.cs:52)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <firebase/firebase-unity-sdk#271>, or mute the thread https://github.com/notifications/unsubscribe-auth/AKLyPcQJeWYMTnBbpX4LnVUy0RMPL55Qks5sFWcZgaJpZM4N9kDY .
@malkavien did Anthony's advice solve your problem?
No, cause i'm using a architecture x86 and to solve need x64
@malkavien you're using an x86 architecture development machine? i.e Windows / OSX something else?
Windows 10
Windows 10 x86 / Windows 10 x86_64?
On Thu, Jul 6, 2017 at 6:26 PM, malkavien [email protected] wrote:
Windows 10
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <firebase/firebase-unity-sdk#271>, or mute the thread https://github.com/notifications/unsubscribe-auth/AFw1RKFSKC49eav8ih1fF3zpScneai6oks5sLYkqgaJpZM4N9kDY .
x86 only this was problem
Next month I will have a better computer and I will be able to test if the suggested solution works.
We're getting there :) We have a fix for the C++ API in Firebase C++ 4.4.2 (https://firebase.google.com/support/release-notes/cpp-relnotes#4.4.2), but we're still working on the editor support for x86 on windows.
@DenizPiri FYI
@stewartmiles Is Unity Standalone Support for 32 bits available?
I'm trying to use it with Firebase 6.1.1 and it's only working with 64bits builds.
Please, I really need to know if this is available or not. I'm using Firebase Database for my Games and if Windows 32 bit is not available I will need to use something different.
@wagenheimer we don't currently have 32-bit (x86) builds for Windows & macOS. Also, beware if you're going to ship a game on desktop with the Firebase SDK https://firebase.google.com/docs/unity/setup#desktop_workflow