-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXC_BAD_ACCESS when using the sdk with firebase #77
Comments
This is a hard one to debug, and I need more information to identify the issue.
|
@cdytoby Also happening here. The error happens when trying to open the app, it throws this error and doesn't open This is all there is in the logs. I haven't tried without firebase in the project. |
While trying it out myself, I'll mark it as help wanted. |
Note for me: https://firebase.google.com/docs/unity/setup#add-sdks-upm Firebase has unity package manager support. |
Hi! I'm having the same problem in iOS. @cdytoby I'm using unity 2018.4 and firebase 6.14 (also tried 6.16.1 with the same result).
Here is my backtrace from lldb Other than that I've realised that the same GoogleProtobuf can exist in the project without any compile issues. this plugin (Assets/Cardboard/Plugins/GoogleProtobuf.dll) and GVR obsolete SDK (Assets/GoogleVR/Plugins/Google.ProtocolBuffers.dll) is it the same case with firebase libraries? "Different dll name but same compiled object class name in runtime" Though there wouldn't possibly be a fix in the near future, I would really appreciate if you can provide any leads on what's the root cause what should I try to help progress on this issue. |
Hello,
I have encountered an issue trying to use the plugin with Unity 2018.4.10, the issue is the plugin runs if I add it to an empty project, but when I add it to my project that has firebase with it and build it for IOS, XCode gives the following error :
EXC_BAD_ACCESS at #0 0x0000000105a5b660 in google::protobuf::internal::(anonymous namespace)::InitSCC_DFS(google::protobuf::internal::SCCInfoBase*) at /Users/jballoffet/Documents/PublicBuild/Crosscompilation/Latest/iOS/protobuf/src/google/protobuf/generated_message_util.cc:778
So I think protobuf is having a conflict with one of the plugins I have in the project, the plugins I have in the project :
Vuforia,Firebase,Tour360
my best guess is that it's Firebase having the same plugin and trying to initialize it twice, but I can't find the dll of protobuf anywhere else in the project and if I delete it, an error occur, so any idea of how to fix this ?
Thanks in advance
The text was updated successfully, but these errors were encountered: