nona 谢谢你发送你的Spine项目文件。
首先,那个Spine项目在我这边可以正常导出,即使图像路径被设置为 "img "文件夹。作为证明,我已经将导出的文件以 "exported-JSON.zip "的形式通过电子邮件发送,所以请解压并尝试将导出的文件导入到你的Unity项目。
我相信我的环境和你的环境之间的差异可能是文件的路径问题。我怀疑出了问题,因为路径中含有中文或指向E盘。你能不能试着把文件移到一个路径不包含中文的地方,或者移到一个本地磁盘,比如C盘,看看能不能成功导出?
关于导出PSD文件(00344-764579771.psd)时的错误,我可以确认我可以重现它,但它不是一个错误。这个错误只是让你知道有一些层有相同的名字。Spine不允许同名的附件存在于同一个皮肤中,所以脚本在这种情况下会显示一个错误。我在邮件中附上了一张截图,这就是你看到的错误,请重新命名图层,这样就不会出现与其他图层同名的情况。
如果你继续遇到错误,我们很乐意继续支持你,所以请提供有关问题的进一步信息。
Thank you for sending your Spine project files.
First, that Spine project can be exported fine on my end, even if the image path is set to the "img" folder. As proof, I have sent the exported file as a .zip file via email so please unpack it and try to import the exported files to your Unity project.
I believe the difference between my environment and yours is probably the path of the files. I suspect that something is wrong because the path contains Chinese or points to the E drive. Could you try moving the files to a location where the path does not include Chinese or to a local disk such as the C drive to see if it can be exported successfully?
Regarding the error when exporting the PSD file(00344-764579771.psd), I can confirm that I can reproduce it, but it is not a bug. The error just lets you know there are layers which have the same name. Spine does not allow attachments with the same name to exist within the same skin, so the script displays an error if it is the case. I have attached a screenshot to my email, and it is the error that you saw, please rename the layers so that there are no layers that have the same name as the others.
If you continue to experience errors, we happily continue to support you, so please provide further information about the problem.