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
Adding the provided GLTF to a project causes the editor to crash. After that, it is not possible to open the project without the editor crashing again.
The GLTF is most likely malformed. Don't know exactly what's wrong with it. It most likely got mangled during a merge, and its bin file and GLTF file are not compatible. Still reporting it as a bug since it happened to us while working "normally" and it's difficult to find out why it's crashing.
It crashes in 3.x. It doesn't crash in 4.3-beta3. Instead it shows the following error in the console:
Error importing 'res://brokengltf/03_level_RocksMaze.gltf'.
modules/gltf/gltf_document.cpp:2850 - Index indices_w[idx_i] = 59141 is out of bounds (orig_vertex_num = 8365).
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://brokengltf/03_level_RocksMaze.gltf'.
Yes, looks like the GLTF contains some out of bounds (it's crashing in the vertex optimizer for me in 3.6 RC1 but if it crashes in 3.5.3 too the regular import code is not tolerant either).
We should be able to put some checking for this in 3.x so it aborts with an error and doesn't crash.
Tested versions
System information
Windows 10.0.22631 dedicated NVIDIA GeForce RTX 3070 Laptop GPU (NVIDIA; 31.0.15.3742) - AMD Ryzen 7 5800H with Radeon Graphics (16 Threads)
Issue description
Adding the provided GLTF to a project causes the editor to crash. After that, it is not possible to open the project without the editor crashing again.
The GLTF is most likely malformed. Don't know exactly what's wrong with it. It most likely got mangled during a merge, and its bin file and GLTF file are not compatible. Still reporting it as a bug since it happened to us while working "normally" and it's difficult to find out why it's crashing.
It crashes in 3.x. It doesn't crash in 4.3-beta3. Instead it shows the following error in the console:
Steps to reproduce
Minimal reproduction project (MRP)
brokengltf3.x.zip
The text was updated successfully, but these errors were encountered: