UnityPy icon indicating copy to clipboard operation
UnityPy copied to clipboard

Create `list_container` as `container` alternative for multiple objects with the same container path

Open erikchan002 opened this issue 4 years ago • 0 comments

Temporary workaround for #45 without breaking container compatibility before version 2

SerializedFile's _container is also changed to be constructed using the list_container alternative so that all assets with a container path will properly show it instead of None when accessed with .container

A multiple_objects_per_container flag is introduced to ResourceManger.save() and extract_assets() in extractor.py to utilize list_container with a False default to avoid breaking compatibility

erikchan002 avatar Sep 12 '22 15:09 erikchan002