x86 build not working, x86_64 works fine, Firebase dll none of the libraries found, no mono folder
Unity version: 2019.4.13f1 Firebase version: 6.16.1
I feel like it's probably not that hard of a fix, but I'm really new to Unity so could use some help on this one. Thanks :)
Log upon launching x86_64 build:
Mono path[0] = 'C:/Users/User/Desktop/build/Game_Data/Managed' Mono config path = 'C:/Users/User/Desktop/build/MonoBleedingEdge/etc' PlayerConnection initialized from C:/Users/User/Desktop/build/Game_Data (debug = 0) PlayerConnection initialized network socket : 0.0.0.0 55035 Multi-casting "[IP] 192.168.0.2 [Port] 55035 [Flags] 2 [Guid] 1560350183 [EditorId] 3925718719 [Version] 1048832 [Id] WindowsPlayer(DESKTOP-3V5S0KB) [Debug] 0 [PackageName] WindowsPlayer [ProjectName] GameName" to [225.0.0.222:54997]... Started listening to [0.0.0.0:55035] PlayerConnection already initialized - listening to [0.0.0.0:55035] Initialize engine version: 2019.4.13f1 (518737b1de84) [Subsystems] Discovering subsystems at path C:/Users/User/Desktop/build/Game_Data/UnitySubsystems GfxDevice: creating device client; threaded=1 Direct3D: Version: Direct3D 11.0 [level 11.1] Renderer: NVIDIA GeForce GTX 1050 Ti (ID=0x1c82) Vendor: (null) VRAM: 3072 MB Driver: 27.21.14.5655 Begin MonoManager ReloadAssembly - Completed reload, in 0.160 seconds D3D11 device created for Microsoft Media Foundation video decoding. Initializing input.
Failed to create device file: 2 The system cannot find the file specified.
(Filename: C:\buildslave\unity\build\PlatformDependent/Win/Input/RawInput.cpp Line: 55)
Input initialized.
Initialized touch support.
UnloadTime: 0.756200 ms Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/FirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1.dll Fallback handler could not load library C:/Users/User/Desktop/build/GameName_Data/Mono/libFirebaseCppApp-6_16_1 DllNotFoundException: FirebaseCppApp-6_16_1 at (wrapper managed-to-native) Firebase.AppUtilPINVOKE+SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_AppUtil(Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate,Firebase.AppUtilPINVOKE/SWIGExceptionHelper/ExceptionDelegate) at Firebase.AppUtilPINVOKE+SWIGExceptionHelper..cctor () [0x000ee] in Z:\tmp\tmp.JYnsY9apCV\firebase\app\client\unity\proxy\AppUtilPINVOKE.cs:117 Rethrow as TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr) at Firebase.AppUtilPINVOKE..cctor () [0x00000] in Z:\tmp\tmp.JYnsY9apCV\firebase\app\client\unity\proxy\AppUtilPINVOKE.cs:137 Rethrow as TypeInitializationException: The type initializer for 'Firebase.AppUtilPINVOKE' threw an exception. at Firebase.AppUtil.SetLogFunction (Firebase.LogUtil+LogMessageDelegate arg0) [0x00000] in Z:\tmp\tmp.JYnsY9apCV\firebase\app\client\unity\proxy\AppUtil.cs:64 at Firebase.LogUtil..ctor () [0x00006] in Z:\tmp\tmp.JYnsY9apCV\firebase\app\client\unity\proxy\LogUtil.cs:80 at Firebase.LogUtil..cctor () [0x00010] in Z:\tmp\tmp.JYnsY9apCV\firebase\app\client\unity\proxy\LogUtil.cs:36 Rethrow as TypeInitializationException: The type initializer for 'Firebase.LogUtil' threw an exception. at Firebase.FirebaseApp..cctor () [0x0004a] in Z:\tmp\tmp.JYnsY9apCV\firebase\app\client\unity\proxy\FirebaseApp.cs:62 Rethrow as TypeInitializationException: The type initializer for 'Firebase.FirebaseApp' threw an exception. at AuthManager.Awake () [0x00001] in C:\Users\User\GameName\Assets\Resources\AuthManager.cs:40
(Filename: Z:/tmp/tmp.JYnsY9apCV/firebase/app/client/unity/proxy/AppUtilPINVOKE.cs Line: 117)
Answer by Smokejet09 · Sep 12, 2021 at 11:26 PM
Thanks, didn't know that i can build to x84_64 architecture. My firebase functions weren't working on x86
Your answer
Follow this Question
Related Questions
Cant Complete Rougelike 2D tutorial. 1 Answer
transform.position and scale 1 Answer
Can i make a DBZ game and release it legally?? 1 Answer
Unity 2019.1.8f1 to support stream deck key pad 0 Answers
Need Assistance on a Project 0 Answers