The problem was that the attribute layers may not exist when the operator ran. The fix is to use `lookup_or_add_for_write_span` instead of `lookup_for_write_span`. Pull Request: https://projects.blender.org/blender/blender/pulls/108851
The problem was that the attribute layers may not exist when the operator ran. The fix is to use `lookup_or_add_for_write_span` instead of `lookup_for_write_span`. Pull Request: https://projects.blender.org/blender/blender/pulls/108851