2

有没有人尝试过适用于 Unity 的新 Firebase SDK(https://firebase.google.com/docs/unity/setup)?当我尝试集成动态链接功能时,它会在有邀请时使应用程序崩溃。

我已经为 Android创建了一个全新的项目,它具有最低设置 ( https://firebase.google.com/docs/dynamic-links/unity ),以便将动态链接添加到我的项目中。当应用程序在没有邀请的情况下启动时,它可以正常启动。但是当应用程序通过邀请 (https://.app.goo.gl/?link=http://&apn=) 启动时,它会崩溃并出现以下错误:

11-15 09:46:00.929 16329-16329/com.my.app D/firebase: (InvitesClass) getInvitation:onResult:Status{statusCode=SUCCESS, resolution=null}
11-15 09:46:00.929 16329-16329/com.my.app D/Unity: (InvitesClass) getInvitation:onResult:Status{statusCode=SUCCESS, resolution=null}: 0 at ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp:42 (17408, 0, 0)
11-15 09:46:00.930 16329-16329/com.my.app I/Unity: (InvitesClass) getInvitation:onResult:Status{statusCode=SUCCESS, resolution=null}
 UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
 UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
 UnityEngine.Logger:Log(LogType, Object)
 UnityEngine.Debug:Log(Object)
 Firebase.FirebaseHandler:LogMessage(LogLevel, String)

 (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)



--------- beginning of crash

11-15 09:46:00.937 16329-16329/com.my.app A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 16329 (irg.app)
4

1 回答 1

1

发现这是当前版本的 sdk(1.0.1) 中的一个 bug: https ://github.com/firebase/quickstart-unity/issues/11

于 2016-11-22T20:18:27.793 回答