bdunderscore / modular-avatar

Other
510 stars 65 forks source link

Switching scenes breaks MA Merge Armature #1316

Open IlexisTheMadcat opened 2 hours ago

IlexisTheMadcat commented 2 hours ago

For as long as I've used modular avatar, I've encountered a bug that's annoyed me. When I switch scenes in Unity, all MA Merge Armature components in my scene (i.e. avatar) break or reset themselves. When they break, they're still set to lock, but they don't track the target armature, even when re-locked. When they reset themselves (primarily from pre-1.10.4), they become unlocked and it's a bit of a gamble whether they work or not after locking. A possible solution would be to fully initialize MA Merge Armature components on scene load, since before 1.10.4 I had to lock them manually, but now I have to either restart unity or reimport Modular Avatar to fix the issue if I'm lucky.

IlexisTheMadcat commented 2 hours ago

Part of the proposed initialization process could be to unlock locked mergers, then relock them. This shouldn't apply to ones that are unlocked.

IlexisTheMadcat commented 2 hours ago

Also, another change I'd love to see with the MA Merge Armature component is the ability to edit multiple of them at once. Sometimes I have the objects as children of an organizer object, as shown, other times I search modularavatarmergearmature to fix them. image