K0lb3 / UnityPy

UnityPy is python module that makes it possible to extract/unpack and edit Unity assets
MIT License
807 stars 122 forks source link

Fix ContainerHelper for .container retrieval #200

Closed t-wy closed 1 year ago

t-wy commented 1 year ago

This commit is aware of the difference between _container and container_ in old versions of SerializedFile.py for compatibility.

It should be matching the behavior of .container property in the previous versions, addressing the issue #199 in 1.10.2 returning None for the first two items below:

Resolves #199