When in mesh editmode, skin_vertices point to bmesh customdata, the skin_vertices data is empty since custom data is stored per element instead of a single array there (same es UVs etc.). Fix similar to3e2619b3e7,5179b8236b(basically disallowing the access in editmode). Pull Request: https://projects.blender.org/blender/blender/pulls/119149