System Information
Operating system: Win10
Graphics card: nVidia 1070
Blender Version
Broken: 2.80 (sub 44), branch: master, commit date: 2019-02-09 02:10, hash: 7262ac6202eb
Worked: n/a
Short description of error
An assert is triggered with a debug build when importing some glTF models.
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
- Use the attached file
- The file was taken directly from https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/2CylinderEngine/glTF-Binary
- Another repro can be seen with https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/Buggy/glTF-Binary
- These models load fine in other viewers and it may not be a glTF importer problem judging from the comment in the code related to the assert
- Import -> glTF 2.0 (.glb/.gltf) -> [the file]
BLI_assert failed: c:\users\deadpin\source\repos\blender-git\blender\source\blender\blenlib\intern\edgehash.c:94, init_edge(), at 'v0 != v1'
blender.exe!abort() Line 61 C++ blender.exe!init_edge(unsigned int v0, unsigned int v1) Line 94 C blender.exe!edgehash_lookup_entry(EdgeHash * eh, unsigned int v0, unsigned int v1) Line 188 C blender.exe!BLI_edgehash_lookup(EdgeHash * eh, unsigned int v0, unsigned int v1) Line 316 C blender.exe!BKE_mesh_calc_edges(Mesh * mesh, bool update, const bool select) Line 1439 C blender.exe!ED_mesh_update(Mesh * mesh, bContext * C, bool calc_edges, bool calc_edges_loose, bool calc_tessface) Line 887 C blender.exe!Mesh_update_call(bContext * C, ReportList * reports, PointerRNA * _ptr, ParameterList * _parms) Line 6194 C blender.exe!RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 6870 C blender.exe!pyrna_func_call(BPy_FunctionRNA * self, _object * args, _object * kw) Line 5817 C python37_d.dll!00007ffe409cb0a6() Unknown