Skip to content

Commit

Permalink
fix: initial null exception error when ODIN is enabled (refs #43)
Browse files Browse the repository at this point in the history
  • Loading branch information
favoyang committed Dec 18, 2020
1 parent 13a9722 commit f8d9bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/AddressableImportSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class AddressableImportSettings : ScriptableObject
#if ODIN_INSPECTOR
[Sirenix.OdinInspector.ListDrawerSettings(HideAddButton = false,Expanded = false,DraggableItems = true,HideRemoveButton = false)]
#endif
public List<AddressableImportRule> rules;
public List<AddressableImportRule> rules = new List<AddressableImportRule>();

[ButtonMethod]
public void Save()
Expand Down

0 comments on commit f8d9bba

Please sign in to comment.