• Editor
  • Too many skins cause the editor to run slowly

Hello, I have encountered some problems in the process of working here,
and I hope to be able to get help. I have a project with a lot of Skin,
currently there are 80+, and it will continue to increase, which causes
my editor to become very slow.
Is there any good solution? What I thought of is that I split this
project into multiple sub-projects, and then merged the multiple
sub-projects when exporting and then exported them, but when I split
into sub-projects, if I Added a slot in the sub-project and set the weight
of the mesh. When I re-import the main project, the weight of the mesh will
change or even disappear. Is there any problem with my process?
How can I solve this problem?

Related Discussions
...

Hello,

More than 80 skins is not too many. If the editor is already running slowly on your PC, I suspect that the problem is not so much the number of skins, but rather the high resolution and large number of images that are being loaded. Adding a [scale:number] tag of PhotoshopToSpine to the layer name allows you to scale the attachment when exporting from Photoshop. Please see the Nate's answer on this thread:
Photoshop tags

Note that thread is about the [scale] tag, which allows you to have some images at a different scale than the others. If you are loading a large number of images at once, you may want to scale all of them down. For that you'd export to JSON and import it back into a new project, setting the scale during import, described here:
Import - Spine User Guide: Scale

You can use smaller (or larger) images in Spine than you use at runtime, though if your images are so large they cause performance issues in Spine, they may also be too large at runtime.

80 skins isn't very many, especially if you don't show them all at the same time. Your performance problem may be because you show many large images. If you show a screenshot of your Metrics view, that would help.