Search Unity

Question AssetBundle compression ratio trifold drop after update from 2018.3 to 2022.1?

Discussion in 'Asset Bundles' started by tomekkie2, Dec 2, 2022.

  1. tomekkie2

    tomekkie2

    Joined:
    Jul 6, 2012
    Posts:
    973
    I have recently updated copy of a WebGL project from 2018.3 to 2022.1.

    The AssetBundleBrowser shows the same assets in both projects with roughly the same sizes.

    But the AssetBundle build sizes have bloated in 2022.1 roughly three times than in 2018.3.

    The main webgl build size stays the same and AssetBundle build size bloats triple.

    Is this a drop in LZ4 compression ratio?

    What can be the cause and how to fix?
     
    Last edited: Dec 6, 2022
  2. inyourpc

    inyourpc

    Joined:
    Jul 14, 2013
    Posts:
    9
    Did you tried building in new folder ?
     
  3. tomekkie2

    tomekkie2

    Joined:
    Jul 6, 2012
    Posts:
    973
    Yes, of course.
    The target folder got copied together with the project folder and then I have cleared it.

    Similar asset sizes before compression in both projects.
    Looks like dramatic drop in compression ratio between these Unity versions.
    I am using LZ4 in both projects.
     
    Last edited: Dec 6, 2022