Skip to content

Commit 7fff866

Browse files
authored
1.9.28 - fix missing align_stream from 1.9.27
* fix alignment * Update __init__.py
1 parent 10346b4 commit 7fff866

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UnityPy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "1.9.27"
1+
__version__ = "1.9.28"
22

33
from .environment import Environment
44
from .helpers.ArchiveStorageManager import set_assetbundle_decrypt_key

UnityPy/files/BundleFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def read_fs(self, reader: EndianBinaryReader):
114114
# - align to 16 bytes and check if all are 0
115115
# - if not, reset the reader to the previous position
116116
if self.version >= 7:
117-
reader.Position = pre_align
117+
reader.align_stream(16)
118118
self._uses_block_alignment = True
119119
elif version >= (2019, 4):
120120
pre_align = reader.Position

0 commit comments

Comments
 (0)