export sprite error: unpack requires a buffer of 8 bytes
liang530 opened this issue · comments
liang530 commented
Code
UnityPy/classes/Sprite.py def init(self, reader) function bug:
- The SpriteBone() function is missing a parameter
- self.m_ Bones=[reader. read_vector2array() for _ in range (mBonesSize)] Some images may be error
Bug
- AssetStudioGui export is ok!
- The example of reproducing this bug is in Data.zip,and sharedassets15.assets/path_id=6, where you can directly execute "test_export_error.py" can be reproduced
- I hope to fix this bug. Thank you very much
To Reproduce
- Data.zip
- following data:
- Python 3.8
- UnityPy 1.9.28
Rudolf Kolbe commented
Thanks for reporting the issue,
I will try to take a look in due time.