If free normals already exist, the `custom_normal` attribute already exists with a different type, so the attribute writer is not created properly in `mesh_set_custom_normals` and the process fails. Instead, setting tangent space custom normals should clear existing free normals. Pull Request: https://projects.blender.org/blender/blender/pulls/142961