Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    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:
    313
    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 Moderator

    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:
    313
    I did do this yes.
     
  4. mahdi_jeddi

    mahdi_jeddi

    Joined:
    Jul 18, 2016
    Posts:
    216
    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,045
    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:
    216
    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,045