prefrontalcortex / UnityGLTF

Runtime GLTF Loader for Unity3D
MIT License
163 stars 41 forks source link

File size grows 100x when re-exporting model #117

Closed hybridherbst closed 11 months ago

hybridherbst commented 1 year ago

This is a sample VRM avatar (just renamed to .glb): AvatarSample_A.glb.zip

It's ~15MB but when re-exported grows to ~1.1GB.

Looks like something with meshes or something with blendshapes is going wrong I believe. The different blendshape options and sparse or not didn't change much about the size.

The original hair:

image

The hair after reimport:

image

Seems all meshes have considerably more vertices (10x-100x) after re-export.

hybridherbst commented 12 months ago

I believe this is fixed by 02f85586235bf3d130cda53ab813e71e799aae6d, is that correct @pfcDorn?

pfcDorn commented 11 months ago

yes, is fixed