You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
export sprite error: unpack requires a buffer of 8 bytes #182
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
Error
export sprite is 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
Activity
K0lb3 commentedon Jun 4, 2023
Thanks for reporting the issue,
I will try to take a look in due time.
1.10.6 - fix Sprite bones for good