When re-importing a PSD file to update images in Spine, it is common for meshes to disappear because the import process does not automatically retain the mesh data. This happens because the mesh vertices and their positions are not directly tied to the image data in a way that can be easily preserved during re-import.
To mitigate this issue, you can follow these steps:
Use the "Import Data" feature: When importing additional images, make sure to uncheck the "New project" option and select "Import into an existing skeleton." This allows you to import only new images without affecting the existing setup.
Avoid deformation in setup mode: If your meshes are not deformed in setup mode, it is easier to reapply the mesh to the updated images. However, if the meshes are deformed, it becomes more complex to retain their exact positions.
Manual adjustment: After re-importing the PSD, you may need to manually adjust the mesh vertices to match the new images. This can be done in the Mesh Tools view by selecting and moving the vertices as needed.
Check image sizes: Ensure that the new images have the same dimensions as the original ones. Linked meshes work best when the images are of the same size.
Use guides and precise placement: Set guides in your PSD file to ensure precise placement of images, which can help in aligning the meshes correctly after re-import.
Here is a useful link for more information on importing images and handling meshes: Meshes - Spine User Guide.
If you continue to experience issues, you may need to re-animate the attachments or manually adjust the meshes after re-importing the PSD.