Describe the bug
When exporting curve objects with the "Curve To Tube" modifier, they are missing texture coordinates and don't show any texture in gltf viewer.
The same file exported from Blender 5.0.1 works fine.
To Reproduce
Steps to reproduce the behavior:
- Open attached blend-file
- Export GLB with Apply Modifiers enabled (or File -> Export All Collections)
- Open the exported GLB file in gltf viewer (https://gltf-viewer.donmccurdy.com/)
- The texture is visible in blender but not in gltf viewer. Also there is a validation error "MESH_PRIMITIVE_TOO_FEW_TEXCOORDS".
Expected behavior
The texture from the blend file should be visible on the curve object after export.
Screenshots


.blend file/ .gltf (mandatory)
CurveToTube_Bug.zip
Version
- OS: Windows 11
- Blender Version 5.1
Additional context
It seems like a change from Blender 5.0.1 to 5.1. Applying the modifier manually and exporting also doesn't immediately fix the issue, even though the object seems to have a UVMap. It is necessary to enter Edit-Mode once before exporting, then it works as expected.
Describe the bug
When exporting curve objects with the "Curve To Tube" modifier, they are missing texture coordinates and don't show any texture in gltf viewer.
The same file exported from Blender 5.0.1 works fine.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The texture from the blend file should be visible on the curve object after export.
Screenshots


.blend file/ .gltf (mandatory)
CurveToTube_Bug.zip
Version
Additional context
It seems like a change from Blender 5.0.1 to 5.1. Applying the modifier manually and exporting also doesn't immediately fix the issue, even though the object seems to have a UVMap. It is necessary to enter Edit-Mode once before exporting, then it works as expected.