Vertex groups are written as generic attributes in bakes currently. In order to restore them as vertex groups properly when reading bakes, keep track of the vertex group names in the bake metadata. Pull Request: https://projects.blender.org/blender/blender/pulls/131393