Unity Issue Tracker - Italic tags only work for the first line of text when the text's Wrap is set to normal
Fixed
UUM-22328
Italic tags only work for the first line of text when the text's Wrap is set to normal
Unity: Text (TextCore)
Fixed
2023.1.X
2022.2.X
2022.2.0a9 onwards
Fixed the italic issue on wrapped text.
Fixed the italic issue not being applied on the second line onward in a wrapped string.
Reproduction steps:
1. Open project “Bug Test”
2. Observe the Game View
Expected result: Italic tag is applied to all text
Actual result: Italic tag is applied to the first line of text only
Reproducible with: 2022.2.0a9, 2022.2.2f1, 2023.1.0a24
Not reproducible with: 2021.3.16f1, 2022.2.0a8
Couldn’t test with: 2020.3.43f1 (The text doesn’t show up in Game View)
Reproducible on: macOS Catalina 10.15.7 (Intel)
Note:
Not reproduced when text’s Wrap is set to “nowrap”
Couldn’t test for WebGL platform (built Unity project wouldn’t load)