Hi! I updated to the latest ngui and now my game (already working with previous version of ngui) hangs on a stack overflow error (see attached log).
I'm still using the old way to load localization file (one file per language, with "key = value" syntax) and actually (since Localization went static) i have a static class (called Translate) that on initialization does this:
public static init() {
Utils.setCultureInfo(CultureInfo.CurrentCulture);
Localization.loadFunction = ( string path ) => {
byte[] bytes = null;
TextAsset asset = Resources.Load<TextAsset>("Languages/" + path);
if ( asset != null ) bytes = asset.bytes;
return bytes;
};
Localization.language = Application.systemLanguage;
}
I really don't know why it cause a stack overflow error :\