Search Issue Tracker
Won't Fix
Under Consideration for 2022.3.X, 6000.0.X
Votes
1
Found in
2022.3.44f1
6000.0.31f1
Issue ID
UUM-91593
Regression
No
Line breaks double when importing a CSV file and re-opening the project
Reproduction steps:
1. Open the attached “doublinebreaksissue.zip” project
2. Open the “testlinebreaks” Scene
3. Select the “Text (TMP)” GameObject from the Hierarchy
4. In the ‘Localize String Event’ Component set the ‘String Reference’ to None
5. Open the ‘Localization Tables’ Window (Window > Asset Management > Localization Tables)
6. Click “+ New Table Collection” and create a new Table (e.g. ‘Testing’)
7. Click “Import” and import the attached “TEST_LB.csv”
8. Observe the line breaks of the “MUSEUM_TANKX_TOOLTIP” key in the English cell
9. Select the “Text (TMP)” GameObject from the Hierarchy again
10. In the ‘Localize String Event’ Component set the ‘String Reference’ to ‘Testing/MUSEUM_TANKX_TOOLTIP’
11. Observe the line breaks in the Game view
12. Save and Exit the project
13. Reopen the project
14. Observe the Game view
Expected result: There are two line breaks as observed before
Actual result: There are four line breaks
Reproducible with: 1.4.5 (2021.3.47f1), 1.5.3 (2021.3.47f1, 2022.3.54f1, 6000.0.32f1, 6000.1.0a9)
Reproducible on: macOS 14.6.1 (M2 Max), Windows 11
Not reproducible on: no other environment tested
Note:
- User discovered this issue when re-importing CSV's from the external localization theme where more and more linebreaks got added. Also when changing the text sometimes <CR> gets converted to /r/k
Comments (1)
-
ilker_playstack
Dec 16, 2024 15:57
It can be observed from version 1.2.1 (2022.3.XX).
Breaks all the pipeline of csv importing and localisation.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note:
Given this is not a regression and long-standing behavior, in uGUI, we do not plan to fix it anytime soon if ever.