Adding new item to existing PSB sprite library & connecting bones

Hello!
I’m having a little trouble finding a simple solution to adding a new layer of a category from photoshop into unity with PSB workflow.
So, basically, I have a tonne of categories/layers for making a bunch of characters from one PSB.
Such as head, weapon, left leg… etc.

I’ve imported & set up the PSB in unity with bones, geometry & weights & have been animating with it for a while. But I now want to start adding new items. Such as new weapons & such, without just starting again & rerigging the whole PSB.

However, with Sprite Skin 5 (Unity 2020.3.19f1) if I try to just bring in the new PSB & copy over the old bones & meshes to the new PSB, I get an error with the meshes since the number of layers don’t add up. Which prevents me from a quick copy & paste that will save all the bone assignments for each part.

If I want to now add just this 1 new weapon manually for instance into the weapon category, what’s the best way to go about that so it links up with the current bone setup?
I’ve watched a lot of tutorials on the initial setup, but can’t find any that tackle this post-setup process.

I hope this makes sense?! Any help is appreciated.

Thanks

Hey,

Hopefully I’m understanding this correctly. I think you want to simply add more sprites to a PSB file, but I’m a little confused when you throw in the word “category,” as there are categories built into the Sprite Editor. However, I don’t think it’s those categories you’re talking about. Let me know if I’m mistaken.

To add more sprites to a PSB file, you can just open the PSB file located in your Unity project, add the new sprites to that file, save the file, and then you’re good to go.

If you change any of the sprites in the file, you’ll likely want to tick the “Reslice” option in the PSB file’s inspector window:
7555369--934255--Reslice.JPG
This will make sure the sprite atlas is sliced correctly.

I recommend backing up your project regularly in case anything goes wrong when changing files.