Open TitanNano opened 5 months ago
versions tested: 4.2-stable to 4.3-beta1
Release build:
Debug build: all versions
Godot v4.2.beta (c5f73a178) - macOS 14.5.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads)
When importing a mesh with loose edges and with the advanced option generate/occluder set to Mesh + Occluder the engine will crash during the import.
generate/occluder
Mesh + Occluder
In debug build:
an assertion in simplifier.cpp fails and causes the crash:
simplifier.cpp
Assertion failed: (index_count % 3 == 0), function meshopt_simplifyEdge, file simplifier.cpp, line 1475.
In release build:
test_mesh.glb.zip
Can confirm this bug:
Incidentally, since it took me a second to find them, here are the settings on the Import dialog needed to recreate the crash:
Tested versions
versions tested: 4.2-stable to 4.3-beta1
Release build:
Debug build: all versions
System information
Godot v4.2.beta (c5f73a178) - macOS 14.5.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads)
Issue description
When importing a mesh with loose edges and with the advanced option
generate/occluder
set toMesh + Occluder
the engine will crash during the import.In debug build:
an assertion in
simplifier.cpp
fails and causes the crash:In release build:
Steps to reproduce
generate/occluder
in advanced import optionsMinimal reproduction project (MRP)
test_mesh.glb.zip