diff --git a/Editor/Localization/Localization.cs b/Editor/Localization/Localization.cs index a1da81b7..879c011c 100644 --- a/Editor/Localization/Localization.cs +++ b/Editor/Localization/Localization.cs @@ -11,6 +11,7 @@ using UnityEngine; namespace nadena.dev.modular_avatar.core.editor { + [InitializeOnLoad] // ensure that we register languages with NDMF on domain load internal static class Localization { public static event Action OnLangChange;