M3-org / CharacterStudio

Open source web based custom VRM avatar creation platform
https://studio.m3org.com/
MIT License
106 stars 26 forks source link

glb chunk lenght unaligned (4-byte boundaries) #97

Open madjin opened 10 months ago

madjin commented 10 months ago

compared exports + VRM validator from main and refactor branch, and there were not many differences between them (exported with mtoon atlas for both) except for this error appearing in refactor branch:

Anata 214: image

I noticed this error in Anata 32 as well

12a13,18 "code": "GLB_CHUNK_LENGTH_UNALIGNED", "message": "Length of 0x4e4f534a chunk is not aligned to 4-byte boundaries.", "severity": 0, "offset": 12 },

exported VRMs: compare.zip

Originally posted by @madjin in https://github.com/M3-org/CharacterStudio/issues/80#issuecomment-1870779086

madjin commented 10 months ago

https://github.com/M3-org/CharacterStudio/commit/e4ddf29b3cd9ba80e9846c5e97b00718a92d65d7 maybe look into here