d4rkAvatarOptimizer
d4rkAvatarOptimizer copied to clipboard
Multiple copies of the same mesh are duplicated in the output bundle
When there are multiple copies a specific skinned mesh on an avatar they wind up getting optimized separately. This causes there to be two duplicates of the same mesh asset in the BinaryAssetBundle and eventually the final output bundle as well. Therefore increasing the download and unpacked size.
In my case, a majority of these meshes have not been merged at all. They are just slightly optimized copies of the original meshes. It would be nice if at least basic unmerged meshes are de-duplicated in the output. Alternatively an option to just keep the original mesh instead for when there is no major optimization would work well for my case. For most of my meshes the only thing changed in BinaryAssetBundle vs the original seems to be the number of referenced bones.