Page MenuHome

Crash blender in edit mode(edges) if geometry node have "On cage"
Closed, ResolvedPublicBUG


System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.47

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-06-22 21:12, hash: rBdbc054bb8818
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: rB84da05a8b806

Short description of error
1- open file
/ Geometry node modifier have "on cage" /
2- go in edit mode(edges)
3- try do select / box select

Related Objects

Event Timeline

I can reproduce this. Here's the failing assert:

BLI_assert failed: D:\blender-git\blender\source\blender\bmesh\intern/bmesh_mesh.h:70, BM_edge_at_index(), at '(index >= 0) && (index < bm->totedge)'

Stack trace: P2207

Jesse Yurkovich (deadpin) changed the task status from Needs Triage to Confirmed.Jun 23 2021, 9:58 PM
Hans Goudey (HooglyBoogly) triaged this task as High priority.Jun 25 2021, 5:47 AM
Hans Goudey (HooglyBoogly) changed the subtype of this task from "Report" to "Bug".

It seems it's looking for the 13th edge on the input cube, since the evaluated mesh output has no original indices layer. I'm honestly not sure how it even got to this point though, it seems like the nodes modifier should not be able to maintain original indices in the general case, so there should be a check to prevent this earlier?

I'm not very familiar with this area.