The class id dictionary wasn't reset between loads. So if you loaded multiple unity YAML documents that had the same class id, the written file would be incorrect. I've modified one of the ids in the multi doc file to have the same id as one of the blocks in the single asset file. Without this change, making this change in the multidoc example will fail the tests (if you run them both)
The class id dictionary wasn't reset between loads. So if you loaded multiple unity YAML documents that had the same class id, the written file would be incorrect. I've modified one of the ids in the multi doc file to have the same id as one of the blocks in the single asset file. Without this change, making this change in the multidoc example will fail the tests (if you run them both)