Skip to content

[Bug] Android: v0.4.24 causes black screen, v0.2.40 works #57

@asdoo4069

Description

@asdoo4069

Hi again. I previously reported Android compatibility issues in #38, which were eventually resolved and allowed RitsuLib to work correctly on Android.

Unfortunately, I seem to have encountered a new regression after updating to the latest version.

Environment

  • Mobile Launcher: v0.3.29
  • Slay the Spire 2: v0.103.3
  • RitsuLib: v0.4.24

Regression

Using the exact same environment:

  • RitsuLib v0.2.40 → works correctly
  • RitsuLib v0.4.24 → game gets stuck on a black screen during startup

Relevant log errors

The log contains several exceptions during framework initialization:

KeyNotFoundException:
The given key 'ACT.OVERGROWTH' was not present in the dictionary.

followed by:

The type initializer for 'UnlockState' threw an exception.

and:

The type initializer for 'NPotionHolder' threw an exception.

with:

LocString.GetFormattedText()
NullReferenceException

Eventually framework initialization fails:

Critical patch(es) failed, rolling back all patches.
Framework initialization failed: critical framework patches failed.

Additional notes

The previous Android compatibility fix from #38 appears to still be working correctly. The log shows:

[MobileSteam] Native Steamworks calls are disabled on this mobile host.

so this does not appear to be related to the older Steamworks issue.

I was able to use RitsuLib on Android for several months after #38 was resolved, so this appears to be a regression introduced somewhere between v0.2.40 and v0.4.24.

I've attached the launcher log for reference.

If this issue is ultimately determined to be caused by the launcher rather than RitsuLib itself, I'd be happy to forward the report to the launcher developer and continue the investigation there.

Thanks again for all the Android compatibility work you've done so far.

launcher_20260618_233035.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/compatibilityCompatibility with game versions, other mods, or runtime environments.area/mod-loadingInitialization, assembly loading, content registration, or patch lifecycle.bugSomething is broken or behaving incorrectly.priority/p1High priority regression or high-impact work.status/in-progressWork is actively in progress.type/bugDefect or incorrect behavior in RitsuLib.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions