Firebase团结认证google signIn,下载包删除Unity项目的UI。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Firebase团结认证google signIn,下载包删除Unity项目的UI。相关的知识,希望对你有一定的参考价值。

所以我试着在我的unity项目中做一个google signIn认证,我从网上下载了google-signin-plugin-1.0.4.unitypackage。https:/github.comgooglesamplesgoogle-signin-unityreleases。 和firebase unity sdk dotNet4 FirebaseAuth.unitypackage并导入到我的unity项目中。通过这样做,我的UI包从unity项目中被删除了,并且我得到了一个错误 "The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)"。通过阅读文档,我发现 https:/firebase.google.comdocsunitysetup。,已知错误部分,因为我使用的是.NET 4.x,所以我删除了ParsePluginsUnity.Compat.dll和ParsePluginsUnity.Tasks.dll。但它仍然会删除UI。这个问题也给出了 https:/github.comgooglesamplesgoogle-signin-unityissues127。. 有人得到了解决方案吗?

答案

好吧,我找到了解决方案。问题是与unity版本。它在Unity 2018.4.21f1上工作,但在2019.2.13f1上没有工作。

以上是关于Firebase团结认证google signIn,下载包删除Unity项目的UI。的主要内容,如果未能解决你的问题,请参考以下文章

Firebase Google SignIn 每次都会询问权限

如何使用 MVVM 架构实现 Firebase Google SignIn?

java.lang.IllegalArgumentException:服务未注册 Flutter 和 Firebase Google SignIn

在 Google SignIn 和 Firebase 中验证用户后,Flutter 将电子邮件用户参数传递到另一个页面

expo firebase google signin 给出:第一个参数“idToken”必须是有效字符串或有效对象或 null

通过 Firebase 登录 Google ->