d4rkc0d3r / d4rkAvatarOptimizer

d4rkpl4y3r's VRChat Avatar 3.0 optimizer
MIT License
400 stars 17 forks source link

version 3.6.3 and higher causing bounding box issues #105

Closed arianwen27 closed 5 months ago

arianwen27 commented 6 months ago

3.6.2 works as normal. 3.6.3 and 3.6.4 causes my avatar's bounding box to become (143.89, 208.17, 183.64), way too high and causes avatar rating to become very poor. Disabling "merge skinned meshes" allows the bounding box to be a normal size. Only happens on some of my avatars. Winterpaws are fine, my RexEvolved has this issue. Though since it only happened after version 3.6.2, I don't know if a way to fix it on my end.

d4rkc0d3r commented 6 months ago

It's probably caused by models with bad export settings that as a result have an armature scale of 100 in unity instead of 1. I'll look into it and probably fix it soon-ish if it is that.

As a side note: The only thing that happens if bounding box is too large is that your displayed performance rank gets very poor. Performance blocking doesn't actually care about the bounding box size and will still display your avatar and not the fallback.

arianwen27 commented 6 months ago

Little update, 3.6.3 and 3.6.4 also cause the WPThong asset to become about 50x bigger in the front than it's supposed to be image Using 3.6.2 and lower makes it look normally sized again

QtpyeRose commented 6 months ago

im also experiencing this issue

QtpyeRose commented 6 months ago

before and after

image

image

arianwen27 commented 6 months ago

I also found my hyenid model's bounding box goes up by 50 in each section

d4rkc0d3r commented 5 months ago

I changed it to only set the scale of bones that have scaling animations to 1 instead of all bones. That should make it behave much more similar to pre 3.6.2 while fixing the original bug of objects being scaled down by default. Please report back if these issues are now gone with 3.7.0

arianwen27 commented 5 months ago

New update fixes my bounding box and giant asset issue. Thanks a ton. Will wait for a reply from aspwil before closing, just in case their specific situation.

Also sidenote, just finished watching Gate: Jieitai Kano Chi nite, Kaku Tatakaeri, good anime (your pfp is from it so this seems appropriate lol)

CorneliusCornbread commented 5 months ago

Just commenting to say I was having this exact issue on my avatar. Just updated and it's been resolved. Great work!

d4rkc0d3r commented 5 months ago

I'll close this now as it seems solved. If there are any more problems just make a new issue.