Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.4
2019.4
2020.2.1f1
2020.3
2021.1
2021.2
Issue ID
1319087
Regression
No
UnityYAMLMerge does not respect EditorSettings.serializeInlineMappingsOnOneLine
How to reproduce:
1. Extract the attached project named "BUG_YamlMerge.zip"
2. Open SceneLeft.unity with a text editor (Located in the Assets folder)
3. Observe that line 133 is written in a single line
4. Open CMD in the current folder and execute the following command - "PATH_TO_THE_EDITOR_FOLDER\Editor\Data\Tools\UnityYAMLMerge.exe" merge -p SceneLeft.unity SceneLeft.unity SceneLeft.unity out.unity
5. Open the result file "out.unity" using a text editor
6. Observe line 133 once more
Expected results: The two merged files are the same. UnityYAMLMerge should not change the file if the files are the same
Actual results: The original line 133 is split into two separate lines
Reproducible with: 2018.4.35f1, 2019.4.26f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a17
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
Although it is accurate that YAMLMerge does not support EditorSettings.serializeInlineMappingsOnOneLine, the effects are non-damaging and this issue does not meet the current level of severity required to resource and backport a fix for this.