A non-destructive avatar optimization utility for VRChat. Create lightweight avatars that more players can see.
This is the Synthos Edition of Limitex’s Avatar Compressor, rebuilt to run on the VRChat SDK build pipeline with VRCFury instead of NDMF.
Analyzes and compresses avatar textures based on their complexity.
This edition does not use NDMF. It runs as a VRChat SDK build hook, after VRCFury has merged its clothing, props and controllers, and after Poiyomi locks materials on upload, so only textures the locked shaders use are compressed.
VRCFury is installed automatically as a dependency, but its package repository must be added to VCC/ALCOM first: https://vcc.vrcfury.com
https://vcc.vrcfury.comhttps://grimreaper35487.github.io/Synthos-VRC-Packages/index.jsonhttps://vcc.vrcfury.comhttps://grimreaper35487.github.io/Synthos-VRC-Packages/index.jsonInstall VRCFury first, then download the latest release from GitHub Releases. Each release has two .zip files: com.synthos.avatar-compressor and com.synthos.texture-analysis. Import both into your Unity project.
Add optimization components to your avatar’s root GameObject, configure settings, and build your avatar. All optimizations are applied automatically when the avatar is built or uploaded, in VRCFury Play Mode, and in VRCFury’s “Build an Editor Test Copy”. Your scene avatar and project assets are never modified: generated textures, materials and animation copies are written to Assets/_AvatarCompressorTemp and cleaned up automatically once nothing uses them.
By default the compressor works from a full-quality copy of each texture’s image file, so every texture is compressed exactly once. The copies are made the first time a texture is built and cached in Library/AvatarCompressorCache; your import settings are never changed. You can turn this off or clear the cache in Edit > Preferences > Avatar Compressor.
Two options in the component’s Source & Quality section decide how much the avatar’s import settings matter:
With both off, results no longer depend on how the textures were imported.
The same section has Avoid banding and blocky edges (on). When the compressor would pick DXT1/DXT5 (ASTC 6x6/8x8 on Quest), it test-compresses the texture’s smooth, clean areas first; if gradients would show stair-stepping or clean edges would turn blocky, it uses BC7 instead. On Quest it steps through finer ASTC block sizes (8x8, 6x6, 5x5, 4x4) and uses the first one that stays clean, so a texture only pays for as much quality as it needs. Textures that get upgraded use more memory but stay clean.
Limit by on-avatar size (on) looks at how large the surface each texture covers is on the avatar and shrinks textures that are sharper than anyone could see, like a 2048 texture on an earring. Each triangle using the texture is measured in the avatar’s current pose, and the texture keeps enough pixels for:
On its own it only ever makes a texture smaller than the detail analysis would, and frozen textures keep their settings. Keep detail where it is visible (on) adds the other direction: a detailed texture whose surface is already less sharp than it needs (usually skin and clothing, which score low on detail because they are smooth) is not shrunk further by the detail analysis. Textures that score below the low-detail threshold keep visible detail in proportion to their score (a texture just under it keeps nearly all of it), so only flat colors and similar textures shrink freely. Min Divisor still applies. Matcaps, ramps, gradients, decals, flipbooks, textures on other UV sets and textures only used through animations are not limited. The preview shows each texture’s pixels per cm before and after.
For Quest avatars, the Quality preset with Respect import format off is a good starting point: in testing, a full avatar went from 55 MB to about 13 MB of texture memory while body textures stayed sharp up close.
Use this together with VRCFury: Avatar Compressor runs after VRCFury in the build, so textures on VRCFury-merged clothing and props, and materials swapped by VRCFury toggles, are compressed too.
com.synthos.avatar-compressor
Undefined
1.4.1
2022.3.22f1 or later
No dependencies