saturday06 / VRM-Addon-for-Blender

VRM Importer, Exporter and Utilities for Blender 2.93 to 4.1
https://vrm-addon-for-blender.info
MIT License
1.24k stars 141 forks source link

Bug report: UDIM runtime error on export #294

Open sinfulgurotesque opened 10 months ago

sinfulgurotesque commented 10 months ago

Describe the bug

When trying to export a model to .vrm, the export fails with the following runtime error:

RuntimeError: Error: When saving a tiled image, the path 'C:\Users\Kelsey\AppData\Local\Temp\tmp_fwjdu8e\img' must contain a valid UDIM marker Error: Image 'Possum.UDIM.001' could not be saved to 'C:\Users\Kelsey\AppData\Local\Temp\tmp_fwjdu8e/img'

To Reproduce

Steps to reproduce the behavior:

  1. In UV Editing, under the Image tab, Create New Image. Check the 'Tiled' checkbox.
  2. In Image sidebar, go to Image tab and make sure the source is set to UDIM Tiles.
  3. In the Material Properties tab of the mesh, make sure the MainTexture is connected with your UDIM texture.
  4. Attempt to export as .vrm.
  5. See error.

Desktop (please complete the following information)

Additional context

Note that the UDIM files are appropriately named and run in blender just fine - they also export to any native file format with no issue.

saturday06 commented 10 months ago

UDIM is currently not supported. Because the glTF add-on does not support it. VRM is an extended format of glTF.

For more information, please refer to the glTF add-on issue. https://github.com/KhronosGroup/glTF-Blender-IO/issues/1663