i can’t really confirm this anywhere, imagine i have a 500kb png file and when loaded as a texture the texture says 4mb… i understand these 4mb are RAM storage, but i need to know if they occupy in HDD storage that much or only when loaded
i’m having this issue when i don’t know if my texture are too high in terms of physical storage
The storage and memory requirements should be the same. If you use a compressed texture format (e.g. DXT or PVRTC), the textures will be moved directly from local storage into memory in their compressed format.
Unity will always convert texture assets to one of the native formats supported by the target hardware. iOS only supports PVRTC compressed textures, and they may produce a larger file size than PNG.
The textures occupy both the HDD storage and the RAM storage.
The Difference is simple :
The textures are packed with the game and are stored on the HDD. In most cases they are compressed to save up space on the drive.
When a texture is needed by the application it gets uncompressed and loaded into the RAM for faster access. The texture finally ends up in the GPU, where it is actually needed.
Short answer - yes it will occupy 4mb of HDD storage. May occupy less because of compression.