Search Issue Tracker

In Progress

In Progress in 6000.6.X

Votes

0

Found in

6000.0.58f2

6000.3.9f1

6000.4.0b9

6000.5.0a7

6000.6.0a1

Issue ID

UUM-131530

Regression

No

Prefabs are corrupted due to inline-styled YAML when UnityYAMLMerge is used to merge prefabs

Version Control

-

How to reproduce:

  1. Locate the UnityYAMLMerge tool in “<Unity Editor version Path>\Editor\Data\Tools“ directory
  2. Copy the path to the UnityYAMLMerge tool
  3. Extract and open the “minimal_test.zip“ directory
  4. Edit the “test_merge.bat“ in Notepad
  5. Replace the value for “UNITY_YAML_MERGE“ with the path to the UnityYAMLMerge copied in step 2
  6. Save the changes and run the script
  7. Edit the “merge_result.prefab“ in Notepad
  8. Observe the array format of "m_RemovedGameObjects"

Actual results: The array is listed in this format: [ {}, {}, {} ]
Expected results: The array is listed in this format:
- {}
- {}
- {}

Reproducible in: 2023.1.0a1, 6000.0.67f1, 6000.3.7f1, 6000.4.0b7, 6000.5.0a6

Reproduced on: Windows 11 Pro (25H2), macOS 15.7.2 (reported against)
Not reproduced on: No other environment tested

Note: Both array interpretations are correct YAML-wise, however, Unity accepts only the expected (block/list) type array

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.