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

Unable to extract Unity 2022.03.7f1 Texture2D correctly #203

Closed rongjie-alter closed 1 year ago

rongjie-alter commented 1 year ago

Code

Example file: https://drive.google.com/file/d/19FK_ZwbDv14_-X9pMTn1wjJI_S0_BAp5/view?usp=sharing

Error No error in python

Bug Extracted texture2D png file becomes garbage

To Reproduce

rongjie-alter commented 1 year ago

If you don't have time to work on this, maybe you can show me some pointer about how to fix the issue? Like maybe something about updating type tree dump for this unity version?