xiaoyoukeking

spine3.8.99版本,导出的二进制json导入spine提示报错,
错误提示:导入骨架时发生错误。请务必选择一个有效的骨架JSON或二进制文件。
具体日志:Spine Launcher 4.1.10
Esoteric Software LLC (C) 2013-2022 | http://esotericsoftware.com
Windows 10 Education amd64 10.0
NVIDIA Corporation, NVIDIA GeForce RTX 2060/PCIe/SSE2, 4.6.0 NVIDIA 516.94
Launching: Spine 3.8.99 Professional
Spine Launcher 4.1.10-legacy
Starting: Spine 3.8.99
Spine 3.8.99 Professional
Licensed to: *****, *****
NVIDIA Corporation, NVIDIA GeForce RTX 2060/PCIe/SSE2, 4.6.0 NVIDIA 516.94
Started.
OpenAL 1.1, Default audio device
ERROR: Error importing skeleton:
java.lang.RuntimeException: Error reading file: C:\Users\admin\Desktop\test.json
at ku.D(SourceFile:140)
at wG.D(SourceFile:310)
at wO.run(SourceFile:274)
at uB.L(SourceFile:1669)
at wc.B(SourceFile:379)
at ej.D(SourceFile:92)
at fu.D(SourceFile:28)
at dz.D(SourceFile:188)
at dz.D(SourceFile:158)
at com.badlogic.gdx.scenes.scene2d.ui.Button.B(SourceFile:131)
at ec.D(SourceFile:94)
at fw.D(SourceFile:88)
at dF.D(SourceFile:59)
at dH.B(SourceFile:351)
at LPT5.B(SourceFile:124)
at com6.D(SourceFile:360)
at nuL.run(SourceFile:259)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: hB: Error parsing file: C:/Users/admin/Desktop/test.json
at gG.D(SourceFile:78)
at jf.D(SourceFile:89)
at jE.D(SourceFile:122)
at ku.D(SourceFile:132)
... 30 more
Caused by: hB: Error parsing JSON on line 2 near: ?� C�>� ���� 
ERRORanimation   �f[ ?���B�%�  A�< ?�����[\
at gG.D(SourceFile:550)
at jg.D(SourceFile:86)
at gG.D(SourceFile:56)
at gG.D(SourceFile:76)
... 33 more
Bu mesaja eklenen dosyaları görüntülemek için gerekli yetkilere sahip değilsiniz.
xiaoyoukeking
  • Mesajlar: 2

Misaki

这个错误似乎是由于Spine错误地认为文件中的信息会以JSON格式写入,因为文件的扩展名为.json。 如果你把你所附的文件 "test.json "重命名为 "test.skel",它应该被正确导入。

----

Spine seems to have mistakenly assumed that the information in the file was written in JSON format because of the .json extension, which caused the error. If you rename the file you attached "test.json" to "test.skel", it should be imported correctly.
Kullanıcı avatarı
Misaki

Misaki
  • Mesajlar: 1157

xiaoyoukeking

Misaki yazdı:这个错误似乎是由于Spine错误地认为文件中的信息会以JSON格式写入,因为文件的扩展名为.json。 如果你把你所附的文件 "test.json "重命名为 "test.skel",它应该被正确导入。

----

Spine seems to have mistakenly assumed that the information in the file was written in JSON format because of the .json extension, which caused the error. If you rename the file you attached "test.json" to "test.skel", it should be imported correctly.
的确是这个原因,非常感谢 :D
xiaoyoukeking
  • Mesajlar: 2

Misaki

不用谢! :D
Kullanıcı avatarı
Misaki

Misaki
  • Mesajlar: 1157


Dön 中国Spine用户