You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moving the file seems to completely break gltf separate. Moving the external texture itself doesn't affect anything.
Edit: The reason is that moving the .gltf and its dependencies visible in the editor leaves out the .bin file. It's existence is not obvious and the generated errors could be more helpful.
The generated errors:
Can't open file from path 'res://untitled.bin'.
modules/gltf/gltf_document.cpp:1323 - Condition "(int)(offset + buffer_end) > buffer.size()" is true. Returning: ERR_PARSE_ERROR
modules/gltf/gltf_document.cpp:1323 - Condition "(int)(offset + buffer_end) > buffer.size()" is true. Returning: ERR_PARSE_ERROR
modules/gltf/gltf_document.cpp:2868 - Condition "vertex_num <= 0" is true. Returning: ERR_INVALID_DECLARATION
modules/gltf/gltf_document.cpp:7251 - Condition "err != OK" is true. Returning: ERR_PARSE_ERROR
modules/gltf/gltf_document.cpp:6895 - Condition "err != OK" is true. Returning: err
modules/gltf/gltf_document.cpp:7426 - Condition "err != OK" is true. Returning: err
Error importing 'res://untitled.gltf'.
Steps to reproduce
Download the minimum reproduction project
Open the scene
Move untitled.gltf into the additional dir, with or without the texture
Godot version
4.2-beta6
System information
Windows
Issue description
Moving the file seems to completely break gltf separate. Moving the external texture itself doesn't affect anything.
Edit: The reason is that moving the
.gltf
and its dependencies visible in the editor leaves out the.bin
file. It's existence is not obvious and the generated errors could be more helpful.The generated errors:
Steps to reproduce
untitled.gltf
into the additional dir, with or without the textureMinimal reproduction project
test_proj.zip
The text was updated successfully, but these errors were encountered: