VRAM Misreporting due to material swap
K
Kigufox
tl;dr: For vram estimates and performance ranking the SDK seems to only consider materials set as default in unity, even if they are being swapped by an animation.
I noticed that I made a mistake in setting up my optimized avatar: I filled its material slots with lower quality textures, but the animation I used to change between "dark" and "audiolink" modes were accessing materials with higher resolution assets.
I was easily able to recreate the issue and it works the other way too. The SDK reports what is set as default, not what is/can be used.
Picture 1: Private avatar with more expensive assets set as default ~110mb
Picture 2: Confirmation of those assets being in-use during play mode
Picture 3: Replaced with low quality assets as default ~75mb
No Picture 4 because it's exactly the same as 2, the LOW materials are not in use because they are swapped out by an animation
Edit: I did an upload of such an avatar and it did the same reporting in game aswell, even lower vram actually. The SDK guess was around 20mb higher than it ended up finally reporting.
Log In
Antithеsis
This still appears to be an issue. Was able to reproduce by removing and re-adding the avatar's FX controller. This also has a knock-on effect of causing avatar performance metrics to become desynchronised, seemingly because the in-game metrics miss something that the server picks up on (or vice-versa).
When adding the FX controller, the uncompressed size jumps up from 36.13 MB to 51.11MB, while the Texture Memory remains the same in-game.
Screenshots attached:
1.) Thry's VRAM calculator
2.) In-game performance rank desync between what is shown in stats and under upload (all green) vs. Performance breakdown overview
3.) In-game Texture Memory
buzer ~
yep having the same issue with SDK 3.7.4 - if I add some material swaps with VRCFury they're not included in the texture memory calculation
peepymou
I have an avatar where this happens, and it is registered as Medium instead of Poor (on Quest). Interestingly, some people report being able to see it without turning on my avatar, while others report seeing my fallback.