UnityPy icon indicating copy to clipboard operation
UnityPy copied to clipboard

Certain APKs do not load on 1.25

Open erikchan002 opened this issue 5 months ago • 0 comments

Code

import UnityPy
UnityPy.loads("com.sega.pjsekai-6.5.5-base.apk")

Error The load does not complete nor error out.

Bug APKs from this specific game no longer loads since commit 76d24e0 and affects UnityPy 1.25. If the APK is unzipped first the unzipped directory loads normally. An APK from one other game I tested is not affected. Reverting to 1.24.2 on PyPI bypasses this issue but encounters #360 instead. Installing from source at 7f3153a works.

To Reproduce https://drive.google.com/file/d/1p_Wdx3x88jwZW77Jn0DccFvi67gwaN1r/view?usp=sharing Reproducible with Python 3.13 and 3.14 (probably all Python versions, but 3.14 does not have any supported version on PyPI that loads this APK because of this and #360). Reproducible with UnityPy 1.25.0 on PyPI and 1.25.1 from source at 3472646.

erikchan002 avatar Jun 03 '26 06:06 erikchan002