artieficial / ApplyAccessories

Useful tool for merging armatures in Unity and adding accessories in VRChat.
MIT License
68 stars 3 forks source link

When I hit the Apply Changes Button it doesn't do what its meant to. #5

Closed AvienReactor closed 2 years ago

AvienReactor commented 2 years ago

Hi, I've been trying to figure out a solution as to why I can't get the plugin to work for my avatar. I have my basic avatar already setup and working for VR and I wanted to find a faster way of adding clothes to him. So I took his armature and rigged a shirt on it. I then brought the new shirt with its armature into unity and followed the process from this video https://youtu.be/d1GgVg75NGA. But when I hit apply the shirt is still separated from my avatar and the only change I can find is the name of the shirt.

Unity Version: 2019.4.31f1 / VRChat SDK3

P.S. In the pictures I moved the two models apart to show that they're separated. The character also already has dynamic bones

image image

I just found an error code that I get when I try it. image

timsoarer commented 2 years ago

I have the exact same issue with a different avatar, it just creates a clone and throws an index out of range exception. image After hitting apply. image The armature for the accessory has the exact same bones with the same names as the avatar, I tried doing it with Don't Reuse Bones enabled and disabled.

artieficial commented 2 years ago

Working on a fix, should be up soon

artieficial commented 2 years ago

Fixed as of of v1.1.6, sorry for the delay

timsoarer commented 2 years ago

was just about to commit a fix when I saw that it was already closed XD

AvienReactor commented 2 years ago

Thank you