Skip to content

Read Linux players in the scene manager and IL2CPP #184

Closed

Description

@ero-qt

Only 1 of the 62 Linux fixture players passes the harness right now. Most of the Mono reads already work and #154 covers what's left there, but the scene manager doesn't find any scenes on Linux and IL2CPP doesn't attach at all. Here's what I'd like to do:

Scene manager

  1. Find the engine on older players too. Up to 2019.1 the engine is built into the game's executable instead of UnityPlayer.so, but engine_module only falls back to the executable on Windows.
  2. Read the Unity version on Linux so we can pick a build the way we do on Windows.
  3. Add measured UnityPlayer.so builds. Right now every Linux player gets ELF_AND_MACHO_X64. Its signature does match on 10 of the Mono players from 2021.1.0f1 up, but even there it reads no scenes. On the rest it never attaches.

IL2CPP

  1. Look for GameAssembly.so as well, since find_runtime_module only looks for GameAssembly.dll.
  2. Find the globals through the same exports we use on Windows. ELF files don't have .pdata, so the walk would get the function bounds from the symbol sizes instead.
  3. Check whether the Windows x64 offsets also fit the Linux players and measure the ones that don't.

Once that's all in, the harness in #169 can run on Linux again.

Activity

  1. added 2 commits that reference this issue on Oct 10, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions