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

My .asset file is marked as dirty (or so i assume) and despite not changing, i often need to rebuild

Discussion in 'Addressables' started by mailfromthewilds, Feb 18, 2021.

  1. mailfromthewilds

    mailfromthewilds

    Joined:
    Jan 31, 2020
    Posts:
    215
    the error i get is
    RuntimeData is null. Please ensure you have built the correct Player Content.

    Addressables - Unable to load runtime data at location UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1[[UnityEngine.AddressableAssets.Initialization.ResourceManagerRuntimeData, Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].

    Exception encountered in operation InitializationOperation, status=Failed, result= : Addressables - Unable to load runtime data at location UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1[[UnityEngine.AddressableAssets.Initialization.ResourceManagerRuntimeData, Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].

    Exception encountered in operation CompletedOperation, status=Failed, result= : Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=Assets/_ World/Planets/Triinus/Settings.asset, Type=PlanetSettings

    i dont understand why it keeps being marked as dirty? i cant find the code that does this. or if it does change, i also not only dont see such change, but i dont see what code is doing it
     
  2. mailfromthewilds

    mailfromthewilds

    Joined:
    Jan 31, 2020
    Posts:
    215
  3. mailfromthewilds

    mailfromthewilds

    Joined:
    Jan 31, 2020
    Posts:
    215
    i have to rebuild almost every second time i compile the game or it will not work, so its like 20 times a day i have to rebuild. need help:C
     
  4. WeltenbauerRenn

    WeltenbauerRenn

    Joined:
    Jun 20, 2017
    Posts:
    40
    Why not use AsseteDatabase mode while developing?
     
  5. mailfromthewilds

    mailfromthewilds

    Joined:
    Jan 31, 2020
    Posts:
    215
    i use
     
  6. WeltenbauerRenn

    WeltenbauerRenn

    Joined:
    Jun 20, 2017
    Posts:
    40
    ok, maybe I don't get your point. Your problem is code change results in invalid build bundles or the bundles get cleared?
     
    Last edited: Feb 23, 2021