Skip to content

Commit 854038b

Browse files
author
Miguel Tomas
committed
Fixed bug that sometimes didn't save the UiConfigs state correctly
1 parent 8307a01 commit 854038b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Editor/UiConfigsEditor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ private void InitConfigValues()
141141
scriptableObject.Configs = configs;
142142
_uiConfigsAddress = uiConfigsAddress.ToArray();
143143

144+
EditorUtility.SetDirty(scriptableObject);
145+
AssetDatabase.SaveAssets();
144146
Resources.UnloadUnusedAssets();
145147
}
146148

0 commit comments

Comments
 (0)