Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity 2020.1 : building eats all memory - grinding the system to a halt

Discussion in 'Editor & General Support' started by spacefrog, Sep 19, 2020.

  1. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    734
    As mentioned in the title:
    when building our project in Unity 2020 it eats all available hardware memory ( 32GB )
    mem usage goes up well beyond that ( about 50Gb using swap space )
    mem usage also doesnt recover once its done building

    non of that appears in Unity 2019.4 ( any version )
    we use many large sprite atlases - and i remember a bug during the 2019.3 cycle which ate all memory too ( and crashed most of the time ), so i guess its tied to the spreite atlasses again

    anyone else seeing those memory problems when building ?
    BTW: build target doesnt seem to have a influence on the mem usage