Build path modification can not been saved properly

In Addressables Groups dialog, I choose a asset group, and then in inpector panel , change Build Path from LocalBuildPath to RemoteBuildPath, Ctrl+S save, and then close unity. Open this project again, the setting will return to localbuildpath agagin…

My unity version is 2018.4.13f1, and my Addressable package version is 1.40

I have the same problem with 2019, a hack fix for now is to set the related schema scriptable object to dirty,

I use this script:

using UnityEditor;
using UnityEngine;

public static class SetDirtyUtility
{
    [MenuItem("Assets/Set Dirty")]
    public static void SetDirty()
    {
        foreach(var obj in Selection.objects)
        {
            EditorUtility.SetDirty(obj);
            Debug.Log("set dirty: " + obj);
        }
    }
}

and I select all of the objects under AddressableAssetsData/AssetGroups/Scemas and right click → Set Dirty

Thanks for your answer , it’s work fine :slight_smile: ,Thanks!

1 Like

Hm… I actually thought we had a fix for this already. Maybe it’s slated for 1.4.1. I’ll have to double check. Sorry for the inconvenience on that. If there’s not been a fix already I’ll be sure to get an issue created.

1 Like