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. Dismiss Notice

Build addressable stuck\crush when write serialized files

Discussion in 'Addressables' started by yakir_30, Apr 1, 2022.

  1. yakir_30

    yakir_30

    Joined:
    Jul 27, 2015
    Posts:
    5
    Hi,

    I'm trying to make a new build for Addressable bundle but it's stuck
    in the "Write serialized files" for many hours (sometimes it's crush after few hours)
    I can't make a build because of that, so it's very urgent.

    I see it's always stuck on same address, attached image.
    Any idea how to find which asset causing the problem?

    I'm using Unity 2021.2.17f1 serialized.png
     
  2. florinel2102

    florinel2102

    Joined:
    May 21, 2019
    Posts:
    75
    Did you find a way out ?
     
  3. yakir_30

    yakir_30

    Joined:
    Jul 27, 2015
    Posts:
    5
    It appears that only after I bought new computer with much better spec (graphic card and RAM) I could pass it :(
     
  4. florinel2102

    florinel2102

    Joined:
    May 21, 2019
    Posts:
    75
    Kinda dissapointed by this approach of Unity , this start to happen for me when I used the duplicate analyzer . If the memory RAM used is directly proportional to the number of assets you use in bundles then it's quite bad . Anyway , glad you find a way out and thanks for the quick reply.
     
  5. florinel2102

    florinel2102

    Joined:
    May 21, 2019
    Posts:
    75
    The only way to pass it , is to increase temporarily the virtual memory RAM from windows settings during the build , but as expected is very slow . Also worth mentioning to delete or divide into chunks very big prefabs . Worked for me to build in under 10 minutes compared with 2.5 hours and much less ram used .
     
    Last edited: Nov 7, 2022