socialpoint-labs / unity-yaml-parser

Python3 library to manipulate Unity serialized files from outside the Unity Editor.
https://pypi.org/project/unityparser/
MIT License
137 stars 24 forks source link

reset class id dictionary on load #5

Closed allender closed 5 years ago

allender commented 5 years ago

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)

allender commented 5 years ago

going to make new requests with the appropriate files in each request