Closed erikchan002 closed 1 year ago
Thanks for reporting the issue.
The encryption handling for the CN version added version handling to the BundleFile, which conflicted with the missing version at that point. So, the handling for this case simply had to be ported from the SerializedFile.
Code
Error
Bug This is a regression caused by #157 and does not happen with UnityPy 1.9.20 https://github.com/K0lb3/UnityPy/blob/b7d9f7793bbc34ae6da23ae326e427e6cd48484c/UnityPy/files/BundleFile.py#L95
To Reproduce