更新到Unity 5.6后,我无法加载Fabric。执行API更新时,API更新程序将失败。经过调查,删除Crashlytics / Fabric后问题就消失了。
从结构网站安装Unity软件包之后,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'
即使我手动排除这些弃用,我仍然无法运行结构。我似乎也不是唯一遇到此问题的人,see this link from twittercommunity
由于
答案 0 :(得分:3)
我已从&#34;编辑器默认资源&#34;中删除了Fabric设置asset
文件。文件夹和修复弃用问题(手动)后,我终于启动了结构并下载了崩解剂套件。