Localization string replacement not working on Steam

Hello,
I’m having a problem with string I replaced via script. On editor and build it works good but when I enable Steam it just doesn’t change.

I’m not sure if I’m using proper way to change text.

 ls.StringReference.SetReference("Journal", text);
 GameManager.Instance.RefreshLocalization(ls);

Refresh method:

   public void RefreshLocalization(LocalizeStringEvent ls)
    {
        StartCoroutine(RefreshLocalizedString(ls));
    }
    IEnumerator RefreshLocalizedString(LocalizeStringEvent ls)
    {
        try
        {
            ls.StringReference.RefreshString();
        }
        catch (Exception e)
        {
            Console.WriteLine(e);
        }

        yield return null;
    }

Unity 2020.3.14f, Localization version: 1.0.0-pre.10 - July 21, 2021
PS: I built Adressables,

You don’t need to call RefreshString, set reference triggers an automatic update.
Are there any errors in the log?

No errors, but I had to uncheck Wait For Completions. Otherwise I had this error:

And None as local:
7524275--928490--upload_2021-9-26_17-14-34.png

But I’m using it with that property unchecked for a while and it works on editor and build, except with Steam API.

Could you file a bug report please?

Yes, will do.

1 Like