Stutter when LoadAssetBundle async with PVRTC compressed sprites

Hi, I have about 50 sprites, each 2048x2048. They are all compressed using PVRTC (for iOS), so each one is about 2MB. I created an asset bundle using BuildAssetBundleOptions.ChunkBasedCompression. However when I try to load the bundle asynchronously, my game stutters.

When not compressing using PVRTC, each sprite size is about 8MB, however when I load the bundle async the game runs smoothly.

The question is, when I call LoadAssetAsync after loading the bundle, will Unity decompress the file because it was PVRTC compressed before displaying the sprite?

Thanks for the help, folks

On those screenshots it looks like you’re profiling in the editor. If you are using PVRTC in the editor, Unity will have to decompress the textures to actually display them. This can cause stutter. On a device, PVRTC textures are not decompressed, as the GPU supports displaying them directly. Try profiling on a device and see if the issue persists.

1 Like

Thanks for the reply! Apparently, no stutter is found when running on iOS :slight_smile: But the interesting thing is that I tested on my friend’s computer and there the editor runs smoothly