无法在 unity 5.6 中导入 Fabric
Unable to import Fabric in unity 5.6
更新到 unity 5.6 后,我无法加载 Fabric。执行 API 更新时,API 更新程序失败。经过调查,删除 Crashlytics / Fabric 后问题消失了。
从 fabric 站点安装统一包后,API 更新程序失败并显示以下神秘消息:
System.InvalidOperationException: Sequence contains more than one element
at System.Linq.Enumerable.SingleOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x000a3] in <776c86d7978548379a28dce0f5e4ccbb>:0
如果我取消 api 更新程序,我会从 unity 收到以下弃用警告:
Assets/Fabric/Editor/GUI/Controller/PluginController.cs(58,45): error CS0619: `UnityEditor.PlayerSettings.bundleIdentifier' is obsolete: `Use PlayerSettings.applicationIdentifier instead (UnityUpgradable) -> UnityEditor.PlayerSettings.applicationIdentifier'
Assets/Fabric/Editor/Postbuild/FabricBuildEventAndroid.cs(36,34): error CS0619: `UnityEditor.PlayerSettings.bundleIdentifier' is obsolete: `Use PlayerSettings.applicationIdentifier instead (UnityUpgradable) -> UnityEditor.PlayerSettings.applicationIdentifier'
Assets/Fabric/Editor/Prebuild/AndroidBuildPropertiesManager.cs(30,38): error CS0619: `UnityEditor.PlayerSettings.bundleIdentifier' is obsolete: `Use PlayerSettings.applicationIdentifier instead (UnityUpgradable) -> UnityEditor.PlayerSettings.applicationIdentifier'
即使我手动解决这些弃用问题,我仍然无法 运行 fabric。看来我不是唯一遇到这个问题的人,see this link from twittercommunity
谢谢
我已经从 "Editor Default Resources" 文件夹中删除了 Fabric 设置 asset
文件,并且在(手动)修复了弃用问题之后,我终于能够启动 fabric 并下载 crashlytics 工具包。
更新到 unity 5.6 后,我无法加载 Fabric。执行 API 更新时,API 更新程序失败。经过调查,删除 Crashlytics / Fabric 后问题消失了。
从 fabric 站点安装统一包后,API 更新程序失败并显示以下神秘消息:
System.InvalidOperationException: Sequence contains more than one element
at System.Linq.Enumerable.SingleOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x000a3] in <776c86d7978548379a28dce0f5e4ccbb>:0
如果我取消 api 更新程序,我会从 unity 收到以下弃用警告:
Assets/Fabric/Editor/GUI/Controller/PluginController.cs(58,45): error CS0619: `UnityEditor.PlayerSettings.bundleIdentifier' is obsolete: `Use PlayerSettings.applicationIdentifier instead (UnityUpgradable) -> UnityEditor.PlayerSettings.applicationIdentifier'
Assets/Fabric/Editor/Postbuild/FabricBuildEventAndroid.cs(36,34): error CS0619: `UnityEditor.PlayerSettings.bundleIdentifier' is obsolete: `Use PlayerSettings.applicationIdentifier instead (UnityUpgradable) -> UnityEditor.PlayerSettings.applicationIdentifier'
Assets/Fabric/Editor/Prebuild/AndroidBuildPropertiesManager.cs(30,38): error CS0619: `UnityEditor.PlayerSettings.bundleIdentifier' is obsolete: `Use PlayerSettings.applicationIdentifier instead (UnityUpgradable) -> UnityEditor.PlayerSettings.applicationIdentifier'
即使我手动解决这些弃用问题,我仍然无法 运行 fabric。看来我不是唯一遇到这个问题的人,see this link from twittercommunity
谢谢
我已经从 "Editor Default Resources" 文件夹中删除了 Fabric 设置 asset
文件,并且在(手动)修复了弃用问题之后,我终于能够启动 fabric 并下载 crashlytics 工具包。