Search Unity

Bug smart string parse error

Discussion in 'Localization Tools' started by huseyin19, Feb 3, 2024.

  1. huseyin19

    huseyin19

    Joined:
    Jun 27, 2021
    Posts:
    5
    Hello, i was trying to add new LocalizedString field to a serialized class with some elements with marked as SmartString but when i try to preview that it gives me this error like this

    upload_2024-2-3_21-54-10.png

    Weird thing is that SmartString preview works on other places just not on any serialized fields that i create now
    Here is an example that works on the same project
    upload_2024-2-3_21-53-16.png

    This is something i think might be caused by my recent unity version upgrade from 2021.3.2f1 to 2021.3.34f1
    I tried completely reimporting the project with no change and also tried to upgrade the localization package to 1.3.2 from package manager but that didnt change anything as well

    I dont really know what is causing this it is just guesses any suggestions?
    Thank you for your time..
     

    Attached Files:

  2. huseyin19

    huseyin19

    Joined:
    Jun 27, 2021
    Posts:
    5
    Small update on my situation..
    I tried to save some changes consisting LocalizedString fields that were setup to be Smart strings giving parsing errors just as i described in my original post of a prefab just to see and these errors popped up in the console upload_2024-2-4_1-35-28.png
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,276
    That's strange. I think the error may be right here, could you please file a bug ;)

    https://unity.com/releases/editor/qa/bug-reporting
     
  4. huseyin19

    huseyin19

    Joined:
    Jun 27, 2021
    Posts:
    5
    I updated the localizaltion package to 1.5.0-pre.6 and the preview issue seems to be solved but now the editor gets stuck and closes without any warning or errors when i try to start the play mode
     
  5. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,276
    huseyin19 likes this.
  6. huseyin19

    huseyin19

    Joined:
    Jun 27, 2021
    Posts:
    5
    ok nevermind the crash it was caused by my dumb mistake
    upload_2024-2-4_6-38-49.png
    sholud be fixed now fingers and toes crossed


    this helped me identify the mistake tho
    so thank you very much for the tip
     
    Last edited: Feb 4, 2024
    karl_jones likes this.