You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Read Linux players in the scene manager and IL2CPP #184
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
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.
Read the Unity version on Linux so we can pick a build the way we do on Windows.
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
Look for GameAssembly.so as well, since find_runtime_module only looks for GameAssembly.dll.
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.
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
Merge pull request #188 from ero-qt/issue-184
Merge pull request #189 from ero-qt/issue-184-scene-manager