[BUG] Some layer names are preventing PSD from importing

edited February 2022 in Help
I just ran into a very specific bug.
Try creating a PSD and give a layer named </Layer set> then import it to Live2D, it will give following error and abort the import process.

[ERROR] Exception in thread "AWT-EventQueue-0" java.util.EmptyStackException
[ERROR] at java.util.Stack.peek(Unknown Source)
[ERROR] at com.live2d.graphics.psd.layer.k$a.a(Unknown Source)
[ERROR] at com.live2d.graphics.psd.layer.i$a.a(Unknown Source)
[ERROR] at com.live2d.graphics.psd.CPsdDocument.a(Unknown Source)
[ERROR] at com.live2d.graphics.psd.CPsdDocument.a(Unknown Source)
[ERROR] at com.live2d.graphics.psd.CPsdDocument$a.a(Unknown Source)
[ERROR] at com.live2d.graphics.psd.CPsdDocument$a.a(Unknown Source)
[ERROR] at com.live2d.cubism.appCtrlImpl.aj.a(Unknown Source)
[ERROR] at com.live2d.cubism.view.ad.a(Unknown Source)
[ERROR] at com.live2d.cubism.view.ad.invoke(Unknown Source)
[ERROR] at com.live2d.util.ae.a(Unknown Source)
[ERROR] at com.live2d.util.ae.invoke(Unknown Source)
[ERROR] at com.live2d.util.ad.a(Unknown Source)
[ERROR] at com.live2d.util.af.run(Unknown Source)
[ERROR] at java.lang.Thread.run(Unknown Source)




Since I don't see this brought up in PSD preparation manual I suppose I should raise it here as a bug in the PSD parsing process.

Comments

Sign In or Register to comment.