Describe the bug
In Blender 4.2, when exporting a mesh with custom vertex attributes to gltf, its Quaternion and Float4x4 attributes are missing.
To Reproduce
I have created a minimum project demonstrating this: a cube has 5 custom vertex attributes:
"_foo_float": float
"_foo_color": float rgba color
"_foo_vec3": float vec3
"_foo_q4": quaternion
"_foo_mat4x4": float4x4
Open the project, run "set_attributes.py" in scripting window to assign random values to them.
Select the cube, then File->Export->glTF 2.0, tick Include Selected Object, and Data->Mesh->Attributes, export.
Check the content of generated gltf file. Custom attribute "_foo_q4" and "_foo_mat4x4" are missing. Both .glb and .gltf exporting have this issue. The other custom attributes are exported with correct values.
Expected behavior
If working correctly, all custom attributes with their name starting with underscore will be exported.
Screenshots
Attribute list:
"_foo_q4" and "_foo_mat4x4" are missing:
Additional context
Also, for some reason, importing the resultant cube.glb or cube.gltf model into blender will fail. I haven't tried on other blender versions and platforms.
Describe the bug In Blender 4.2, when exporting a mesh with custom vertex attributes to gltf, its Quaternion and Float4x4 attributes are missing.
To Reproduce I have created a minimum project demonstrating this: a cube has 5 custom vertex attributes: "_foo_float": float "_foo_color": float rgba color "_foo_vec3": float vec3 "_foo_q4": quaternion "_foo_mat4x4": float4x4
Expected behavior If working correctly, all custom attributes with their name starting with underscore will be exported.
Screenshots Attribute list:
"_foo_q4" and "_foo_mat4x4" are missing:
![issue_1](https://github.com/user-attachments/assets/7948ab19-6811-44b3-bd91-bc34056e9384)
.blend file/ .gltf (mandatory) cube_with_attributes.zip
Version
Additional context Also, for some reason, importing the resultant cube.glb or cube.gltf model into blender will fail. I haven't tried on other blender versions and platforms.