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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.