现象

DllNotFoundException: FirebaseCppApp-11_5_0 assembly:<unknown assembly> type:<unknown type> member:(null)
Firebase.AppUtilPINVOKE+SWIGExceptionHelper..cctor () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/macos_unity/x86_64/app/swig/Firebase.App_fixed.cs:4114)
Rethrow as TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
Firebase.AppUtilPINVOKE..cctor () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/macos_unity/x86_64/app/swig/Firebase.App_fixed.cs:4134)
Rethrow as TypeInitializationException: The type initializer for 'Firebase.AppUtilPINVOKE' threw an exception.
Firebase.AppUtil.SetLogFunction (Firebase.LogUtil+LogMessageDelegate arg0) (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/macos_unity/x86_64/app/swig/Fireb

文章描述了在使用Unity和Firebase11SDK时遇到的DllNotFoundException,尤其是在Windows10版本低于1903的情况下。问题源于Firebase需要icu.dll支持全球化服务,而低版本系统缺失。解决方法包括尝试复制icu.dll和升级Windows10,但未解决问题。

3010

被折叠的 条评论
为什么被折叠?



