[Notice of Holidays]
Please note that our staff will not be available from 2024/Dec/28 - 2025/Jan/5 JST.
The Live2D Creators Forum will remain open during the holidays.
Submissions that require a response will be answered after we reopen for business.
Please note that it will take longer than usual to respond to your request.
[BUG] Some layer names are preventing PSD from importing
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.
0 ·
Comments
Thank you for your report.
I understood your report.
I have shared this bug with the developers.
It will be fixed in a future update.
Thank you very much!