Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    Dismiss Notice

Asset Bundle Build Memory Problem..

Discussion in 'Asset Bundles' started by CheeseAllergyHamster, Jan 20, 2020.

  1. CheeseAllergyHamster


    Feb 8, 2016
    testing env : windows10 and 7 / Unity 2019.2.18f1
    i7 6700k, 32gb ram.

    first sorry, i can't english well.

    hello, i have some problem.
    i have project for asset bundle build only.
    this project included 200,000++ sprites + some scripts.
    and, sprites packaged with sprite atlas. :)

    if, i enable Editor -> Sprite Packer -> Mode -> Always Enable or Build only,
    i get critical memory leak issue.
    (if i start asset bundle build then my editor stopped, and Memory increase to grow at 20-30 megabytes per second.)
    but, i disable sprite atlas pack option, problem does not occur. xD

    I think it's a bug with sprite packing. doesn't always. but sometimes i see this problem.

    Temporary solution:
    Delete Library-> AtlasCache
    if delete atlas cache, again working for me

    Does anyone have the same problem? :(