Skip to content

Certain APKs do not load on 1.25 #376

Description

@erikchan002

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions