Search Issue Tracker

Fixed

Fixed in 1.3.2, 1.4.2

Votes

0

Found in [Package]

1.3.2

Issue ID

LOC-689

Regression

No

[Localization] "FormatException" error is thrown in the Console window when calling GetLocalizedStringAsync class

Package: Localization

-

Reproduction steps:
1. Open the attached Unity project "Test Font.zip"
2. Open "LocScene.unity" Scene from Assets folder
3. Enter the Play mode
4. Observe error appear in the Console window

Expected result: No errors are thrown in the Console window
Actual result: Error is thrown in the Console window: "FormatException: Input string was not in the correct format for String.Format. Ensure that the string is marked as Smart if you intended to use Smart Format. `Level \{0}`"

Reproducible with: 1.0.5, 1.1.1, 1.2.1 (2019.4.38f1, 2020.3.33f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a11)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.