Operating system: Windows-10-10.0.19041-SP0 64 Bits
Broken: version: 2.93.0 Alpha, commit date: 11-feb, hash: rB3fea77ceedcda
Short description of error
Crash (at least on Debug build) when accessing an attribute of a GizmoGroup in __del__ (as the RNA_struct_free function freed the "StructRNA" of the GizmoGroup before it is accessed).
Exact steps for others to reproduce the error
- Open attached file or add these lines to the MyLightWidgetGroup object of the gizmo_simple.py template:
def __del__(self): if not hasattr(self, "energy_gizmo"): print("Bug")
- Run the script 2 times to unregister the first GizmoGroup
(You may need to run an address sanitizer).