Search Issue Tracker
Fixed in 2022.1.X
Votes
1
Found in
2019.4
2020.3
2020.3.12f1
2021.1
2021.2
2022.1
Issue ID
1345149
Regression
Yes
A space at the beginning of the Text disappears after reopening the Scene
How to reproduce:
1. Open the user's attached project
2. Open the '1' Scene
3. In the Hierarchy select Canvas > Text 8
4. Add a space before the first 'a' in the third line
5. Save the Scene
6. Reopen the Scene
7. Observe the text
Expected result: There is an empty space before the first 'a' in the third line
Actual result: The is no empty space before the first 'a' in the third line
Reproducible with: 2019.4.0f1, 2019.4.28f1, 2020.3.13f1, 2021.1.14f1, 2021.2.0b2, 2022.0a1
Not reproducible with: 2018.4.36f1
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
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
- Unity Version Control server textfield’s text overlaps with the dropdown triangle button in the Explore repositories window when an organization with a long name is selected
Resolution Note (fix version 2022.1):
Fix bug in YAML parsing, where spaces in double quoted multi-line strings could be lost when there was an escaped newline directly at the end of a line.
Fixed in 2022.2.0a1