• EditorBugs
  • an error occurred while packing images

an error occurred while packing images in spine version 4.1.24 PRO

error log:
WARNING: Error packing images:
[npe] Cannot read field "S" because "<local13>" is null
at s.UgT.(:171)
at s.UgT.pack(:74)
at s.YcR.
(:167)
at s.kzF.
(:134)
at s.KQo.
(:286)
at s.rNh.
(:249)
at s.KQo.
(:78)
at s.KQo.
(:189)
at s.GEk.
(:97)
at s.pMn.
(_:693)
at java.lang.Thread.run(Unknown Source)

Related Discussions
...

only occurs when I export your file in binary format, and I do not encounter this error when I export my file in JSON format. :

Mario
has been sent
email title is
Trouble Spine Project in"an error occurred while packing images"

p.s. there is some chinese file name in this project

  • Misaki님이 이에 답장했습니다.

    jim3878 Thank you for sending us the Spine project files! You said you have no problem when exporting in JSON format but only when exporting in binary format, the reason for your confusion is that Spine stores the texture packer settings for each format. The simple fact is that the texture packer settings tied to the JSON format were correct and the texture packer settings tied to the binary format were incorrect. So even when exporting in binary format, I could pack without any problem if I used the same texture packer settings that were tied to the JSON format.

    Here is the pack settings I tried:

    packsettings.zip
    867B

    Could you try the same texture packer settings and see if the packing is done correctly?

    • jim3878님이 이에 답장했습니다.

      Misaki

      Thanks ,It is work!

      • Misaki 님이 이 게시물을 좋아합니다..