MaximilianLiu

紧急!!!Spine3.8beta会对导出工程造成永久性损坏,导致所有工程报废,无法导入到Unity,致使所有动画需要退回低版本重新制作。
importBug.png

每个导入的动画都会这样报错,我真的要炸了,等于说我拿3.8开启保存的项目全部挂彩!低版本又打不开,我只能全部重做了,爆炸!爆炸!爆炸!爆炸!爆炸!
bug.png


---

我可以提供工程测试

---

这个是从3.8beta导出的源文件,导入Unity就爆炸!

---

InvalidCastException: Specified cast is not valid.
Spine.Unity.Editor.SpineEditorUtilities+AssetUtility.GetRequiredAtlasRegions (System.String skeletonDataPath) (at Assets/Spine/Editor/spine-unity/Editor/SpineEditorUtilities.cs:639)
Spine.Unity.Editor.SpineEditorUtilities+AssetUtility.ImportSpineContent (System.String[] imported, System.Boolean reimport) (at Assets/Spine/Editor/spine-unity/Editor/SpineEditorUtilities.cs:810)
Spine.Unity.Editor.SpineEditorUtilities+AssetUtility.HandleOnPostprocessAllAssets (System.String[] imported) (at Assets/Spine/Editor/spine-unity/Editor/SpineEditorUtilities.cs:602)
Spine.Unity.Editor.SpineEditorUtilities.OnPostprocessAllAssets (System.String[] imported, System.String[] deleted, System.String[] moved, System.String[] movedFromAssetPaths) (at Assets/Spine/Editor/spine-unity/Editor/SpineEditorUtilities.cs:188)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)

---

I have solved the problem, my runtime version is problematic, but I have to re-direct all previous animations. . . . .
Snipaste_2019-07-09_14-39-55.png
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
MaximilianLiu
  • Messaggi: 8

Harald

抱歉,添麻烦了。
Sorry for the trouble.

运行时主要版本号和次要版本号(例如3.8)必须像往常一样匹配Spine编辑器版本。 您必须使用新的Spine版本重新导出所有资产。
The runtime major and minor version numbers (e.g 3.8 ) have to match the Spine editor version as usual. You have to re-export all assets with the new Spine version.

您可以使用Pharan的3.6到3.7升级指南作为升级到3.8的参考:
You can use the 3.6 to 3.7 upgrade guide by Pharan as a reference for upgrading to 3.8 as well:

Spine-Unity 3.6 to 3.7 Upgrade Guide

注意,正如Nate发布在这个帖子中:
Note that as Nate posted in this thread:
请注意,您可以使用Spine的命令行导出一次性导出所有项目。
导出 - 脊柱用户指南:命令行
You can use Spine's command line export to export all your projects in one go.
Export - Spine User Guide: Command line
Avatar utente
Harald

Harri
  • Messaggi: 4332


Torna a 中国Spine用户