M3-org / CharacterStudio

Open source web based custom VRM avatar creation platform
https://m3-org.github.io/CharacterStudio/
MIT License
75 stars 20 forks source link

VRM Export: Multiple materials with no texture + transparent texture exports invisible asset #147

Closed madjin closed 2 weeks ago

madjin commented 3 weeks ago

1242: seems that the horns become transparent in the exported vrm

invisible-horns-1242.zip

image image

image

The horns do not have a texture, it's just base color white.

1535: horns in visible in vrm

invisible-horns-1535.zip

image

Benjythebee commented 2 weeks ago

I tried debugging this but I can't help because I can't even reproduce a VRM with this issue.

I downloaded the horns, stripped away the skeleton and exported it clean as GLB. Then I applied it to a VRM0 skeleton and exported a new VRM that would work.

For VRM0, the VRM is straight up broken. image

This is pretty common though. Any VRM0 that's exported with at least one mesh that has no texture will be completely broken, that's a bug and I'm not sure if there is a ticket for it on Github.

Now, I went ahead and tried to do the same on the drophunter since the drophunter avatar is a VRM1. I export a new Drophunter avatar with the horns and open it on Blender. This time I'm seeing the avatar in blender, but it comes alongside to this error:

image

so I'm not sure if it's because I have a bad Horn.vrm or if it's something else that's different.

FYI, I can open your 1535 avatar vrm with no errors

memelotsqui commented 2 weeks ago

fixed in #148