Skip to content

PolyPen: Unhandled Exception Caught: Exception caught #1691

@Lerklutten

Description

@Lerklutten

PLEASE READ THE FOLLOWING AND USE THE TEMPLATE TO POST YOUR ISSUE

Questions not directly related to the RetopoFlow project are considered general and should be posted elsewhere (e.g. git, blender, python, etc).

Before raising the issue, please check the following first:

  • Read through the README.md file in the branch used to assure the process taken is correct
  • Check the existing issues and pull requests to make sure the issue has not already been reported and/or fixed.
  • You can replicate the bug and will provide as much info as possible with blend files, screenshots, logfiles, as well as show the expected result and actual result.

Please prefix your issue name with one of the following: [BUG] [PROPOSAL] [QUESTION]

Issue Template

Issue:
Environment:

  • RetopoFlow: 3.4.3
  • Build: CG Cookie built for Blender Market
  • Blender: 5.00.1 blender-v5.0-release 2025-12-15
  • Platform: Windows, 10, 10.0.26200, AMD64, AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD
  • GPU: {'backend': 'OPENGL', 'device': 'NVIDIA', 'vendor': 'NVIDIA Corporation', 'renderer': 'NVIDIA GeForce RTX 4070 Ti SUPER/PCIe/SSE2', 'version': '4.6.0 NVIDIA 591.59', 'compute_shader_support_get': True, 'hdr_support_get': False, 'max_batch_indices_get': 1048576, 'max_batch_vertices_get': 1048576, 'max_images_get': 8, 'max_texture_layers_get': 2048, 'max_texture_size_get': 32768, 'max_textures_frag_get': 32, 'max_textures_geom_get': 32, 'max_textures_get': 192, 'max_textures_vert_get': 32, 'max_uniforms_frag_get': 4096, 'max_uniforms_vert_get': 4096, 'max_varying_floats_get': 124, 'max_vertex_attribs_get': 16, 'shader_image_load_store_support_get': True}
  • Timestamp: 2026-01-17 13:27:29.782975

Runtime:

  • Undo:
  • Error Hash: 28cf64e2ba8a573f81acf8a1bf755c82

Trace:

  • EXCEPTION (<class 'ReferenceError'>): BMesh data of type BMVert has been removed
  • C:\Users\zoe\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\retopoflow\retopoflow\rfmesh\rfmesh_wrapper.py
    
  • 000 0120:select() return self.bmelem.select and not self.bmelem.hide
  • C:\Users\zoe\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\retopoflow\retopoflow\rftool_polypen\polypen.py
    
  • 001 0131:main() if self.nearest_geom and self.nearest_geom.select:
  • .../common\fsm.py
    
  • 002 0169:wrapped() return fn(*args, **kwargs)

{add any screenshots of the issue here}

How to Reproduce:

  • {add your list replication steps}

{attach any files needed to replicate the issue}

Automatically Generated Info

Environment:

- RetopoFlow: 3.4.3
- Build: CG Cookie built for Blender Market
- Blender: 5.00.1 blender-v5.0-release 2025-12-15
- Platform: Windows, 10, 10.0.26200, AMD64, AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD
- GPU: {'backend': 'OPENGL', 'device': 'NVIDIA', 'vendor': 'NVIDIA Corporation', 'renderer': 'NVIDIA GeForce RTX 4070 Ti SUPER/PCIe/SSE2', 'version': '4.6.0 NVIDIA 591.59', 'compute_shader_support_get': True, 'hdr_support_get': False, 'max_batch_indices_get': 1048576, 'max_batch_vertices_get': 1048576, 'max_images_get': 8, 'max_texture_layers_get': 2048, 'max_texture_size_get': 32768, 'max_textures_frag_get': 32, 'max_textures_geom_get': 32, 'max_textures_get': 192, 'max_textures_vert_get': 32, 'max_uniforms_frag_get': 4096, 'max_uniforms_vert_get': 4096, 'max_varying_floats_get': 124, 'max_vertex_attribs_get': 16, 'shader_image_load_store_support_get': True}
- Timestamp: 2026-01-17 13:27:29.782975

Runtime:

- Undo: 
- Error Hash: 28cf64e2ba8a573f81acf8a1bf755c82

Trace:

- EXCEPTION (<class 'ReferenceError'>): BMesh data of type BMVert has been removed
-     C:\Users\zoe\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\retopoflow\retopoflow\rfmesh\rfmesh_wrapper.py
- 000 0120:select() return self.bmelem.select and not self.bmelem.hide
-     C:\Users\zoe\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\retopoflow\retopoflow\rftool_polypen\polypen.py
- 001 0131:main() if self.nearest_geom and self.nearest_geom.select:
-     .../common\fsm.py
- 002 0169:wrapped() return fn(*args, **kwargs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions