Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug [2021.2.15b] Initial import floods 32GB RAM and crashes OOM

Discussion in '2021.2 Beta' started by strich, Oct 8, 2021.

  1. strich

    strich

    Joined:
    Aug 14, 2012
    Posts:
    374
    I'm trying to import our existing project (Aprox. 50GB library folder in size) into the latest Unity beta and on a fresh import from deleting the library folder, Unity will fail to import on the first launch as it eventually eats up all 32GB of memory on my dev PC.

    I enjoy all the improvements to the import pipeline for sure, but I feel like it may have become a bit too agressive and needs to scale itself based on available memory.
     
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Try with a project that does not include the library folder to see if it still happens.
     
  3. strich

    strich

    Joined:
    Aug 14, 2012
    Posts:
    374
    I did do this yes.
     
  4. mahdi_jeddi

    mahdi_jeddi

    Joined:
    Jul 18, 2016
    Posts:
    246
    This happens for all all the time, when the Editor tries to import the SpriteAtlases and PSB files. I would recommend to check for those and maybe disable disable the sprite atlases in Editor.
     
  5. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    I've flagged this thread internally. It would be much appreciated if you could submit bug reports for these issues, ideally with reproducibles.
     
  6. mahdi_jeddi

    mahdi_jeddi

    Joined:
    Jul 18, 2016
    Posts:
    246
    The one with the Sprite Atlases is hard to reproduce, but I made a new bug report for the PSB files: Case 1372221
     
  7. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136