- 수정됨
Single image from Photoshop won't import into Spine
I'm using the scrip from Github to export from PS CC and each time a single image will not import into Spine. It is the same piece "L_Lower_Leg" each and every time.
Spine Launcher 4.0.44
Esoteric Software LLC (C) 2013-2021 | http://esotericsoftware.com
Windows 10 Pro amd64 10.0
NVIDIA Corporation, GeForce GTX 1060 6GB/PCIe/SSE2, 4.6.0 NVIDIA 462.59
Starting: Spine 4.0.13 Professional
Spine 4.0.13 Professional
Licensed to: *****, *****
Started.
OpenAL 1.1, Default audio device
ERROR: Unable to read image file: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/L_Lower_Leg.png
[error] Couldn't load dependencies of asset: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/L_Lower_Leg.png
at s.qVn.S(_:119)
at s.qVn._(_:91)
at s.lpT4.S(_:577)
at s.lpT4.D(_:428)
at s.lpT4._(_:442)
at s.StQ._(_:87)
at s.ubH.B(_:977)
at s.FSW.D(_:458)
at s.SUa.run(_:267)
<events>
Cause: s.fpx: java.lang.RuntimeException: javax.imageio.IIOException: Error reading PNG image data
at s.sdp._(_:46)
at s.qVn.S(_:117) ...
Cause: [error] javax.imageio.IIOException: Error reading PNG image data
at s.YDu._(_:111)
at s.YDu._(_:25)
at s.qVn._(_:71)
at s.qVn._(_:35)
at s.SOV.call(_:64)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cause: javax.imageio.IIOException: Error reading PNG image data
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at s.QLb._(_:118)
at s.QLb._(_:168)
at s.YDu._(_:36) ...
Cause: [zip] incorrect data check
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readFully(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source) ...
ERROR: Unable to read image file: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/L_Lower_Leg.png
[error] Couldn't load dependencies of asset: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/L_Lower_Leg.png
at s.qVn.S(_:119)
at s.qVn._(_:91)
at s.lpT4.S(_:577)
at s.lpT4.D(_:428)
at s.lpT4._(_:442)
at s.StQ._(_:87)
at s.ubH.B(_:977)
at s.FSW.D(_:458)
at s.SUa.run(_:267)
<events>
Cause: s.fpx: java.lang.RuntimeException: javax.imageio.IIOException: Error reading PNG image data
at s.sdp._(_:46)
at s.qVn.S(_:117) ...
Cause: [error] javax.imageio.IIOException: Error reading PNG image data
at s.YDu._(_:111)
at s.YDu._(_:25)
at s.qVn._(_:71)
at s.qVn._(_:35)
at s.SOV.call(_:64)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cause: javax.imageio.IIOException: Error reading PNG image data
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at s.QLb._(_:118)
at s.QLb._(_:168)
at s.YDu._(_:36) ...
Cause: [zip] incorrect data check
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readFully(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source) ...
ERROR: Unable to read image file: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/L_Upper_Leg.png
[error] Couldn't load dependencies of asset: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/L_Upper_Leg.png
at s.qVn.S(_:119)
at s.qVn._(_:91)
at s.lpT4.S(_:577)
at s.lpT4.D(_:428)
at s.lpT4._(_:442)
at s.StQ._(_:87)
at s.ubH.B(_:977)
at s.FSW.D(_:458)
at s.SUa.run(_:267)
<events>
Cause: s.fpx: java.lang.RuntimeException: java.lang.RuntimeException: Unknown image format.
at s.sdp._(_:46)
at s.qVn.S(_:117) ...
Cause: [error] Unknown image format.
at s.YDu._(_:111)
at s.YDu._(_:25)
at s.qVn._(_:71)
at s.qVn._(_:35)
at s.SOV.call(_:64)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cause: [error] Unknown image format.
at s.QLb._(_:64)
at s.QLb._(_:168)
at s.YDu._(_:36) ...
ERROR: Unable to read image file: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/Butt.png
[error] Couldn't load dependencies of asset: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/Butt.png
at s.qVn.S(_:119)
at s.qVn._(_:91)
at s.lpT4.S(_:577)
at s.lpT4.D(_:428)
at s.lpT4._(_:442)
at s.StQ._(_:87)
at s.ubH.B(_:977)
at s.FSW.D(_:458)
at s.SUa.run(_:267)
<events>
Cause: s.fpx: java.lang.RuntimeException: java.lang.RuntimeException: Unknown image format.
at s.sdp._(_:46)
at s.qVn.S(_:117) ...
Cause: [error] Unknown image format.
at s.YDu._(_:111)
at s.YDu._(_:25)
at s.qVn._(_:71)
at s.qVn._(_:35)
at s.SOV.call(_:64)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cause: [error] Unknown image format.
at s.QLb._(_:64)
at s.QLb._(_:168)
at s.YDu._(_:36) ...
ERROR: Unable to read image file: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/R_Thigh_1.png
[error] Couldn't load dependencies of asset: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/R_Thigh_1.png
at s.qVn.S(_:119)
at s.qVn._(_:91)
at s.lpT4.S(_:577)
at s.lpT4.D(_:428)
at s.lpT4._(_:442)
at s.StQ._(_:87)
at s.ubH.B(_:977)
at s.FSW.D(_:458)
at s.SUa.run(_:267)
<events>
Cause: s.fpx: java.lang.RuntimeException: java.lang.RuntimeException: Unknown image format.
at s.sdp._(_:46)
at s.qVn.S(_:117) ...
Cause: [error] Unknown image format.
at s.YDu._(_:111)
at s.YDu._(_:25)
at s.qVn._(_:71)
at s.qVn._(_:35)
at s.SOV.call(_:64)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cause: [error] Unknown image format.
at s.QLb._(_:64)
at s.QLb._(_:168)
at s.YDu._(_:36) ...
ERROR: Unable to read image file: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/L_Lower_Leg.png
[error] Couldn't load dependencies of asset: E:/UE5_Projects/UE52DSideScroller/RawAssets/Photoshop/Puff/images/L_Lower_Leg.png
at s.qVn.S(_:119)
at s.qVn._(_:91)
at s.lpT4.S(_:577)
at s.lpT4.D(_:428)
at s.lpT4._(_:442)
at s.StQ._(_:87)
at s.ubH.B(_:977)
at s.FSW.D(_:458)
at s.SUa.run(_:267)
<events>
Cause: s.fpx: java.lang.RuntimeException: javax.imageio.IIOException: Error reading PNG image data
at s.sdp._(_:46)
at s.qVn.S(_:117) ...
Cause: [error] javax.imageio.IIOException: Error reading PNG image data
at s.YDu._(_:111)
at s.YDu._(_:25)
at s.qVn._(_:71)
at s.qVn._(_:35)
at s.SOV.call(_:64)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cause: javax.imageio.IIOException: Error reading PNG image data
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at s.QLb._(_:118)
at s.QLb._(_:168)
at s.YDu._(_:36) ...
Cause: [zip] incorrect data check
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readFully(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source) ...
I have no idea what the problem was. I saved the PS project as a new file, loaded it, ran the script and everything worked fine.
From the log, [zip] incorrect data check
looks like Photoshop made an invalid PNG file (part of the PNG format uses ZIP). Glad you got it working just by saving the image again! We can blame it on Photoshop bugs or maybe cosmic radiation. You might check that your RAM or disk storage isn't malfunctioning.
I think it was a problem with source control. I'm not 100% sure the original PSD was checked out when I ran the script. Either that or a bad reference in PS to another layer that previously existed with the same name.