• EditorBugs
  • an error occurred while packing the images. (ver. 4.2.34)

Hellow~!
Sorry. Written with Google Translate.

A packing error occurs when exporting data including texture packing as a polygon type.
However, it is output normally when packed as a rectangle type rather than a polygon type.

Export of polygon texture packing of all files does not work properly in the latest version 4.2.34.



// error log
Spine Launcher 4.2.15
Esoteric Software LLC (C) 2013-2024 | http://esotericsoftware.com
Windows 10 Home amd64 10.0
NVIDIA Corporation, NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2, 4.6.0 NVIDIA 555.99
Starting: Spine 4.2.34 Professional
Spine 4.2.34 Professional
Licensed to: <removed> Using customized hotkeys: hotkeys-1.txt
Started.
OpenAL 1.1, Default audio device
WARNING: Error packing images:
[error] Unable to process polygon for image: body2
at s.GzF.(:489)
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] Image: body2
at s.GzF.(:487) ...

There is no such issue in version 4.1, but the issue suddenly appears in the latest version.

    Related Discussions
    ...

    It seems you are encountering an error when using polygon packing in Spine version 4.2.34, while rectangle packing works fine. This issue does not occur in version 4.1. Here are a few steps you can try to resolve the issue:

    1. Check Texture Packer Settings: Ensure that the "Limit memory" option is checked in your texture packer settings. This can help prevent crashes due to memory limitations. You can find this setting in the texture packer settings dialog.

      Limit memory setting

    2. Adjust Packing Settings: Sometimes, specific settings can cause issues with polygon packing. Try adjusting the settings or reverting to default settings to see if that resolves the issue.

    3. Use Rectangle Packing Temporarily: If polygon packing is not critical for your current project, you can use rectangle packing as a temporary workaround until the issue is resolved in a future update.

    4. Send Project Files for Debugging: If the issue persists, consider sending your project files to Esoteric Software for further investigation. This can help them identify and fix the problem in future updates.

    5. Check for Updates: Ensure you are using the latest version of Spine, as updates often include bug fixes and improvements.

    If none of these steps resolve the issue, it may be a bug specific to the latest version. In that case, using version 4.1 for polygon packing might be the best temporary solution until the issue is addressed in a future update.

    nkseok90 Welcome to the Spine Forum! I would like to tell you first: This forum has a translation button. When you hover your mouse over a post, the translation button will appear in the bottom right corner, allowing you to translate it into your native language. We can use this to read your posts, so feel free to write in your native language.

    As for the reason for the texture packing error, I think there is something wrong with your mesh settings, since the error only occurs during polygon packing. For example, you may have inadvertently left some vertices outside the mesh boundary, which can cause the export to fail. Could you please check for such vertices errors? Or you can send us your Spine project via email and we can check on the cause: contact@esotericsoftware.com

    According to the error log, it seems that the body2 image cannot be packed properly, so you can send us spine project files with only the attachment where the body2 image is used, and delete everything else.

      Misaki

      파일 첨부하여 발송하였습니다.
      해당 body2 이미지를 삭제하여도 다음 이미지 에러가 발생하고 텍스처를 소량만 남기고 패킹하면 이슈가 재현되지 않습니다.

      해당 파일만의 이슈가 아닌 다른 프로젝트의 모든 파일 동일 이슈 발생됩니다.

      다행히도 4.2.33 버전에서 프로젝트를 불러올 수 있어서 문제 없이 폴리곤 타입으로 텍스처 패킹할 수 있었습니다.
      확인 부탁드립니다. 감사합니다.

        nkseok90 Thank you for sending the file! After confirming that I could reproduce the problem with the file you sent us, I confirmed that I could reproduce the same problem with Spineboy. This certainly seems likely to be a bug in Spine 4.2.34. We will investigate the conditions under which this problem occurs.

        I have created an issue ticket for a fix for this problem: EsotericSoftware/spine-editor818
        I have confirmed that this error occurs whenever a specific image is used, regardless of whether or not the image is used by the mesh attachment. I am still not sure what is wrong with the image that is causing the error, but we will address this issue as soon as possible.

        nkseok90 We just released Spine 4.2.35 which fixes this issue. I have already confirmed that packing with polygons works with the Spine project you sent us, so please upgrade your editor version. Thanks for reporting this issue!

          Misaki

          스파인 에디터 4.2.35 버전에서 폴리곤 텍스처 정상 패킹 되는 것을 확인했습니다!
          빠른 업데이트 감사합니다.
          좋은 하루되세요! 😃