Search Unity

Resolved Parsing of Localization smart strings errors in build only

Discussion in 'Localization Tools' started by Lamamour, Dec 15, 2022.

  1. Lamamour

    Lamamour

    Joined:
    Oct 31, 2020
    Posts:
    5
    Hello there,
    When I build an apk for Android (Quest), I have these "Error parsing string" errors for some smart strings. I don't get them when I play in the editor and I don't get them when I build for other platforms either. I tried to rebuild the addressables, and also to change the Bundle Name Mode to "Append Hash to Filename" because I had read that it could help, but nothing did the trick.

    upload_2022-12-15_16-34-58.png



    Any idea?
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    The error is with the var variable. Can you try replacing it with a string variable and see if the issue still happens? It looks something is wrong with the persistent variable.
    Can you write a script tp print the value out in the player, and see if the variable has gone missing or if its gone null?
     
  3. Lamamour

    Lamamour

    Joined:
    Oct 31, 2020
    Posts:
    5
    Apparently on this platform we were missing this. We just added it again and it's now fixed!
    upload_2022-12-16_9-43-23.png
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297