Skip to content

Conversation

@nikitalita
Copy link
Contributor

@nikitalita nikitalita commented Dec 26, 2025

When using the dummy rendering server, ImporterMesh::add_surface() fails if the mesh has blend shapes:

ERROR: Condition "blend_shape_count != (uint32_t)mesh_get_blend_shape_count(p_mesh)" is true. Returning: Array()
	at: mesh_surface_get_blend_shape_arrays (servers/rendering_server.cpp:1774)
ERROR: Condition "p_blend_shapes.size() != blend_shapes.size()" is true.
	at: add_surface (scene/resources/3d/importer_mesh.cpp:68)

This causes various things, like the scene importers, to produce inaccurate scenes when running headless.

This is caused by the dummy mesh storage not actually setting and getting the blend_shape_count/blend_shape_mode. Implementing those fixes the issue.

@nikitalita nikitalita requested a review from a team as a code owner December 26, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant