Search Unity

Unity crashes when trying to clear addressables.

Discussion in 'Addressables' started by Maltesj, Oct 30, 2020.

  1. Maltesj

    Maltesj

    Joined:
    Feb 7, 2020
    Posts:
    11
    I get a "Received signal SIGSEGV" error when i run AddressableAssetSettings.CleanPlayerContent();

    In build log the last logged line is "Cleaning old addressables." which is why i believe there is an issue with the addressables system...
    As part of our build pipeline we refresh addressables to ensure they're up to date when building.

    Code (CSharp):
    1.        
    2. private static void RebuildAddressables()
    3.         {
    4.             UpdateTeamCityProgressStatus.SetProgressStatus("Building Addressables");
    5.  
    6.             Debug.Log("Cleaning old addressables.");
    7.             AddressableAssetSettings.CleanPlayerContent();
    8.  
    9.             Debug.Log("Building new addressables.");
    10.             AddressableAssetSettings.BuildPlayerContent();
    11.         }
    12.  

    Anyone else have the same issue?
     

    Attached Files:

  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,822
  3. Maltesj

    Maltesj

    Joined:
    Feb 7, 2020
    Posts:
    11
    Yesterday another developer figured out it could be a memory error caused when garbage collection ran, so it was a problem in tests and not addressables.
     
    TreyK-47 likes this.