Search Unity

Changing image format inside .sbsar changes RAM footprint dramatically?

Discussion in 'Formats & External Tools' started by cory_munky, Jan 6, 2016.

  1. cory_munky

    cory_munky

    Joined:
    Dec 10, 2014
    Posts:
    66
    The RAM footprint of my SubstanceArchive went from 16 megs to 0.9 megs (as measured by the Unity Profiler) when we changed the format of the embedded images from raw to jpg. I would expect a file size difference, but I would not expect a difference in RAM footprint.

    Is this expected behavior??

    The procedural material is configured for Load Behavior: Do Nothing and Cache. And, it is manually built using:
    procMat.cacheSize = ProceduralCacheSize.None;
    procMat.RebuildTexturesImmediately();
    procMat.ClearCache();


    Using Unity 5.3.0f4. Same results on PC and iOS.