If i try to extract a file using the examples provided on the website, i get the error in the topic:
python3.11 test.py
Traceback (most recent call last):
File "/home/samuele/frida/ios/extractor/test/test.py", line 44, in <module>
unpack_all_assets(".", ".")
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/samuele/frida/ios/extractor/test/test.py", line 11, in unpack_all_assets
env = UnityPy.load(file_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/samuele/.local/lib/python3.11/site-packages/UnityPy/__init__.py", line 8, in load
return Environment(*args, fs=fs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/samuele/.local/lib/python3.11/site-packages/UnityPy/environment.py", line 46, in __init__
self.load_file(arg)
^^^^^^^^^^^^^^^^^^^
File "/home/samuele/.local/lib/python3.11/site-packages/UnityPy/environment.py", line 127, in load_file
f = ImportHelper.parse_file(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/samuele/.local/lib/python3.11/site-packages/UnityPy/helpers/ImportHelper.py", line 138, in parse_file
f = files.BundleFile(reader, parent, name=name, is_dependency=is_dependency)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/samuele/.local/lib/python3.11/site-packages/UnityPy/files/BundleFile.py", line 42, in __init__
m_DirectoryInfo, blocksReader = self.read_fs(reader)
^^^^^^^^^^^^^^^^^^^^
File "/home/samuele/.local/lib/python3.11/site-packages/UnityPy/files/BundleFile.py", line 112, in read_fs
if self.dataflags & self.dataflags.UsesAssetBundleEncryption:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'UsesAssetBundleEncryption'
samuele@DESKTOP-SAMU:~/frida/ios/extractor/test
If i try to extract a file using the examples provided on the website, i get the error in the topic:
UnityPy version is the latest, 1.10.1