在官方第13例子中,我改变资源目录为非工程目录下,发现无法找到png资源,如图
从非工程目录导入资源有问题
the path is Ok
nicecook I see, so could you please send us the files to reproduce the problem on our end?: contact@esotericsoftware.com
Please include the URL of this forum thread in the email so we know the context. Then we can take a look at what's wrong.
I have sent an email
nicecook Thanks for sending us your skeleton files! We'll check to see if we can reproduce the problem, but just to let you know, you seem to be using Spine 4.2.22 to create your skeleton, so I'd like to let you know that you should be using the latest patch version of the editor.
Updating to the patch version is always safe, and there are many bug fixes between 4.2.22 and the latest version (4.2.40), so please update your editor.
nicecook I have replied to your email earlier, but I was unable to reproduce the problem with your skeleton files. Please check the email, as I have attached a screenshot to show that it was displayed correctly in Godot.
So I think it is possible that Godot does not have access to the files on your D drive. Could you try moving the files to a different location and changing the path to see if that works?