Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug m_currentHash variable is set to 0 in the AddressableAssetSettings.asset file

Discussion in 'Addressables' started by dogukan_spyke, Apr 30, 2024.

  1. dogukan_spyke

    dogukan_spyke

    Joined:
    Feb 14, 2023
    Posts:
    1
    Addressables version: 1.21.10
    Development Device: Macbook m1 pro sonoma
    Build Platform: iOS, Android

    I am facing an issue recently where, when I build my game and addressable content, sometimes m_currentHash is set to zero. In the file, it looks like this:


    m_currentHash:
    serializedVersion: 2
    Hash: 00000000000000000000000000000000

    This caused my game to not open and get stuck at the launch screen.

    When this happens, I manually revert that change, only the m_currentHash value, from Git and build the game again, and it works without a problem. Is this a known issue?