d4rkc0d3r / d4rkAvatarOptimizer

d4rkpl4y3r's VRChat Avatar 3.0 optimizer
MIT License
368 stars 16 forks source link

Optimise fails on unity 2022 due to non humanoid avatar #67

Closed arianwen27 closed 8 months ago

arianwen27 commented 8 months ago

Updated most of my avatars to 2022 and friends have done the same. All our avatars fail to build/optimise with dr4k with an error saying the avatar type is not humanoid. The avatar is in fact humanoid. 1 of my avatars works for unknown reasons. Saw a similar issue report saying build fails when avatar type is read as null, though I believe that was fixed. The non humanoid error still persists, fix is to disable d4rk till it's updated with a fix.

Would like to give more details but all I really have is "it worked before unity 2022 and the error says the avatar is not humanoid"

d4rkc0d3r commented 8 months ago

Saw a similar issue report saying build fails when avatar type is read as null, though I believe that was fixed.

It's the same bug and only fixed on my dev version.

The avatar the error complains about is a unity avatar component which is part of every animator on your vrc avatar. Since you said your avatar is in fact humanoid, that means you have some extra Animator components somewhere which are not humanoid.

arianwen27 commented 8 months ago

Ah, thought it was fixed in a general release. Thanks for the quick reply, apologies for the unneeded issue report as you've already handled this, just not publicly yet.