I encountered crashes exporting objects, originally ones that I modeled with the ND extension. I noticed that some objects there had no UV maps. I then experimented a bit with plain cubes, where I removed the UV map on one and had again a crash, in a brand new godot project even.
Steps to reproduce
try to open the MRP, it includes a basic godot project with the obj that leads godot to crash. it has also the blend file where I exported the cubes. Objects are inside collections, and somehow, in collection 4, which includes like the first collection - one object with and one without UV map, but the one from the 4th collection doesn't crash godot
I also got this output when starting it with the windows console. Doesn't look that helpful though
Edit: I just something in the console that I have overseen
ERROR: UVs are required to generate tangents.
at: (scene/resources/surface_tool.cpp:1161)
ERROR: FATAL: Index p_index = 2 is out of bounds (size() = 0).
at: get (./core/templates/cowdata.h:205)
CrashHandlerException: Program crashed with signal 4
Engine version: Godot Engine v4.3.stable.official (77dcf97d82cbfe4e4615475fa52ca03da645dbd8)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] error(-1): no debug info in PE/COFF executable
[2] error(-1): no debug info in PE/COFF executable
[3] error(-1): no debug info in PE/COFF executable
[4] error(-1): no debug info in PE/COFF executable
[5] error(-1): no debug info in PE/COFF executable
[6] error(-1): no debug info in PE/COFF executable
[7] error(-1): no debug info in PE/COFF executable
[8] error(-1): no debug info in PE/COFF executable
[9] error(-1): no debug info in PE/COFF executable
[10] error(-1): no debug info in PE/COFF executable
[11] error(-1): no debug info in PE/COFF executable
[12] error(-1): no debug info in PE/COFF executable
[13] error(-1): no debug info in PE/COFF executable
[14] error(-1): no debug info in PE/COFF executable
[15] error(-1): no debug info in PE/COFF executable
[16] error(-1): no debug info in PE/COFF executable
[17] error(-1): no debug info in PE/COFF executable
[18] error(-1): no debug info in PE/COFF executable
[19] error(-1): no debug info in PE/COFF executable
[20] error(-1): no debug info in PE/COFF executable
[21] error(-1): no debug info in PE/COFF executable
[22] error(-1): no debug info in PE/COFF executable
[23] error(-1): no debug info in PE/COFF executable
-- END OF BACKTRACE --
Tested versions
4.3
System information
Windows 10
Issue description
I encountered crashes exporting objects, originally ones that I modeled with the ND extension. I noticed that some objects there had no UV maps. I then experimented a bit with plain cubes, where I removed the UV map on one and had again a crash, in a brand new godot project even.
Steps to reproduce
try to open the MRP, it includes a basic godot project with the obj that leads godot to crash. it has also the blend file where I exported the cubes. Objects are inside collections, and somehow, in collection 4, which includes like the first collection - one object with and one without UV map, but the one from the 4th collection doesn't crash godot I also got this output when starting it with the windows console. Doesn't look that helpful though
Edit: I just something in the console that I have overseen
Minimal reproduction project (MRP)
OBJ_Import_Crash.zip