• 中文
  • 4.1版本有个bug啊,导出二进制进入unity,

  • Изменено
Related Discussions
...

导出二进制文件进入unity,图片文件夹内不能有子文件夹。不然就报错。


4.1导出的二进制内的/与unity不一样

二进制格式的默认扩展名是.skel,但是Unity不能加载带有扩展名的文件,所以你必须把它修改为.skle.bytes。请看spine-unity运行时文档的这一部分。
The default extension of the binary format is .skel but Unity cannot load files with the extension, so you have to modify it to .skle.bytes. Please see this section of the spine-unity runtime documentation:
spine-unity 运行时文档: 用于Unity的二进制导出

不是这个问题;就是images文件夹内,不能用子文件夹装有使用的图片,与扩展名无关。之前的版本都没有这个问题。


这使得文件整理非常不方便


right and wrong

你是否在纹理打包器设置中启用了 展平路径?当它被启用时,导出的.atals.txt文件中的文件夹路径信息将被删除,所以它可能无法被正确读取。
Are you enabling Flatten paths in the texture packer settings? When it is enabled, the folder path information will be removed in the exported .atals.txt file, so it may not be read properly.
纹理打包 - Spine用户指南: 展平路径

4 дня спустя

oh,tanks!My angel。


这到底是为什么啊,没有路径也有这种问题。


我都快崩溃了,

不幸的是,我没能重现你的问题。导出设置和纹理打包器设置似乎都是正确的。你能不能通过电子邮件把Spine项目发给我们,以便我们能重现这个问题?:contact@esotericsoftware.com

Unfortunately I was not able to reproduce your problem. The export settings and texture packer settings seem to be correct. Could you please send us the Spine project via email so that we can reproduce the problem?: contact@esotericsoftware.com

ok,ok。已经发给你们了,这个是截图。感谢!感谢!

谢谢你发送你的脊柱项目! 我找到了原因。

在引用xx文件夹中的图像的序列附件中,最后一帧(9.png)是一个完全透明的图像,但你的纹理打包器设置启用了忽略空白图片,所以在打包时忽略了该图像,这导致图集中出现错位。

要解决这个问题,要么禁用 忽略空白图片,要么不使用透明图像,而是在动画中添加一个附件键,在序列播放结束时隐藏序列附件。请尝试这些选项中的任何一个,如果你能告诉我们结果,我们将不胜感激。


Thank you for sending your Spine project! I found the cause.

In the sequence attachments that referencing images in the xx folder, the last frame (9.png) is a completely transparent image, but your texture packer settings have Ignore blank images enabled, so the image is ignored during packing and this causes a misalignment in the atlas.

To solve this problem, either disable Ignore blank images or, instead of using transparent images, add an attachment key during animation that hides the sequence attachment at the end of the sequence playback. Please try either of these options, and we would appreciate it if you could tell us the result.

对了,对了,太感谢了!❤❤❤❤❤❤