Unity Issue Tracker - Typing after "\n" in public List String element breaks the new line formating
Closed
UUM-14334
Typing after "\n" in public List String element breaks the new line formating
Unity: Text (TextMeshPro)
Won't Fix
2022.2.X
2022.2.0a14 onwards
To reproduce:
1. Create a new project
2. Create a new script
3. Add a public String List e.g.
public List<string> qotes = new List<string>();
4. Add the script to any object in the scene
5. Select the object with the script
6. In the Inspector window in the list component add a new element
7. Type \n (you should see that a new line has appeared and \n is gone)
8. Continue typing anything after that
Expected: the text is written in a new line
Actual: the text starts typing between \ and n, and it doesn't go to a new line
Reproduced on:
2022.2.0a14, 2022.2.0b8
Not reproduced on:
2022.2.0a13
"\n" does nothing in:
2020.3.39f1, 2021.3.10f1, 2022.1.16f1, 2023.1.0a11
Prioritise and Follow this issue
Have a workaround or additional info about this issue?