Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to load il2cpp : Pantheon.exe #1313

Open
1 task done
itskando opened this issue Feb 8, 2025 · 25 comments
Open
1 task done

failed to load il2cpp : Pantheon.exe #1313

itskando opened this issue Feb 8, 2025 · 25 comments

Comments

@itskando
Copy link

itskando commented Feb 8, 2025

Description

After Pantheon: Rise of the Fallen updated from Unity 5 to 6, the previously functional .exe no longer opens.
Instead a window pops up which says: failed to load il2cpp

Running wine from the terminal provides:

07b0:err:module:import_dll Library api-ms-win-core-winrt-robuffer-l1-1-0.dll (which is needed by L"S:\\Steam\\steamapps\\common\\Pantheon Rise of the Fallen\\GameAssembly.dll") not found

Steps to reproduce

Open steam.exe via Whisky.
Use Steam to open Pantheon.

Or:

Open Pantheon.exe via Whisky.

Or:

Use Whisky terminal to run:

cd [...path to steam library...]/steamapps/common/Pantheon\ Rise\ of\ the\ Fallen/
wine Pantheon.exe

kando@benvolio Pantheon Rise of the Fallen % wine Pantheon.exe
[UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-allocator-temp-initial-block-size-main=262144"
    "memorysetup-allocator-temp-initial-block-size-worker=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
07b0:err:module:import_dll Library api-ms-win-core-winrt-robuffer-l1-1-0.dll (which is needed by L"S:\\Steam\\steamapps\\common\\Pantheon Rise of the Fallen\\GameAssembly.dll") not found
2025-02-07 23:05:51.611 wine64-preloader[41516:1347725] +[IMKClient subclass]: chose IMKClient_Modern
2025-02-07 23:05:51.770 wine64-preloader[41516:1347725] +[IMKInputSession subclass]: chose IMKInputSession_Modern

(The failed to load il2cpp still pops up after this.)

Expected behaviour

Expected game to open.

Logs

Whisky Version: 2.3.4
Date: 2025-02-08T03:40:32Z
macOS Version: 15.3.0

Bottle Name: Pantheon
Bottle URL: /Users/kando/Library/Containers/com.isaacmarovitz.Whisky/Bottles/8D161518-3AFF-40B1-8774-696C297C5DEA

WhiskyWine Version: 2.5.0
Windows Version: win11
Enhanced Sync: msync

Metal HUD: false
Metal Trace: false

Arguments: control

Environment:
{
    "DXVK_ASYNC" = 1;
    "GST_DEBUG" = 1;
    WINEDEBUG = "fixme-all";
    WINEESYNC = 1;
    WINEMSYNC = 1;
    WINEPREFIX = "/Users/kando/Library/Containers/com.isaacmarovitz.Whisky/Bottles/8D161518-3AFF-40B1-8774-696C297C5DEA";
}

2025-02-07 22:40:33.473 wine64-preloader[40393:1323458] +[IMKClient subclass]: chose IMKClient_Modern
2025-02-07 22:40:33.717 wine64-preloader[40393:1323458] +[IMKInputSession subclass]: chose IMKInputSession_Modern

What version of Whisky are you using?

2.3.4 (42)
(The bug reporter forced 2.3.2 for some reason.)

What version of macOS are you using?

15.3 (24D60)
(The bug reporter forced Sonoma (macOS 14) for some reason.)

Issue Language

  • Yes my issue is written in English
@itskando
Copy link
Author

itskando commented Feb 8, 2025

Similar to:

#1312

Both apps use Unity, I believe.

@itskando
Copy link
Author

itskando commented Feb 8, 2025

Attempted winetricks vcrun2019 and dotnet48 as recommended here:

https://www.reddit.com/r/wine_gaming/comments/1dhkj4n/il2cpp_error/

@12wer10
Copy link

12wer10 commented Feb 8, 2025

Similar to:

#1312

Both apps use Unity, I believe.

yes. it uses unity

@retailminer
Copy link

I'm getting the same error after the update

@itskando
Copy link
Author

itskando commented Feb 10, 2025 via email

@astergabeDev
Copy link

Confirmed works on kegworks, so it is possible to use something wine-like.

On Sun, Feb 9, 2025, 10:22 PM retailminer @.***> wrote:
I'm getting the same error after the update


Reply to this email directly, view it on GitHub
<#1313 (comment)>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADS5U3YZYA3UTPIGXTTFKR32PALN7AVCNFSM6AAAAABWXIF63CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBWHAZTGMBXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

can you tell me how did u make pantheon work with kegworks or whisky?

@itskando
Copy link
Author

itskando commented Feb 18, 2025

There was no special method.

I reported the bug in the Pantheon discord and they gave a guide, but they changed their bug tracker and the post is gone.

Install kegworks, choose latest engine whatevers and make the WIndows instance.
Window pops up, choose advanced.
Look for (and run) the winetrick (subcategory: app) named steam and run to install steam.
[You must install Steam this way.]
Do so and then set the Browse file to the newly installed steam.exe in Program FIles.

I also killed kegworks' access to my home folders and I think set the function keys to work as function keys.
When you're done, close the window, open the .app you created (local Applications folder in your username folder).
Steam should open up after a long while.

If not, right-click the .app, Open Contents, open the wineskin.app inside to change settings.

If you're coming off Whisky, ideally you setup their recommendation for a shared Steam library.
When Steam opens up, connect it back to that and you should be golden.

@astergabeDev
Copy link

do u check "Direct3d to Metal translation layer" ?

@itskando
Copy link
Author

Image

Image

Image

@itskando
Copy link
Author

Image

Image

@itskando
Copy link
Author

itskando commented Feb 18, 2025

I also tend to create a folder with a subfolder (Steam Whisky/Steam), open the winecfg and add a drive (S or whatever) to Steam Whisky and use S:/Steam as the shared steam library. But this feels potentially beyond the scope of your question.

Image

@Madoc439
Copy link

How long should the process to install Steam take? I think it has been running 10m or more on my M2 Max Mac Studio.

@itskando
Copy link
Author

itskando commented Feb 19, 2025

Dunno, couldn't be much longer than that. If you're having problems, shut everything down, open Activity Monitor, type wine in the search bar, kill all processes containing wine, and then reopen to try again.

@Madoc439
Copy link

Dunno, couldn't be much longer than that. If you're having problems, shut everything down, open Activity Monitor, type wine in the search bar, kill all processes containing wine, and then reopen to try again.

I tried a couple of times doing that. Steam would 'load' but just sit in the Dock and never show up. There were about 5-6 processes of steamwebhelper. Never had luck with Kegworks actually installing Steam

@itskando
Copy link
Author

itskando commented Feb 20, 2025 via email

@Madoc439
Copy link

Oh right. This is after install (which I finally killed after an hour of it waiting and never finished installing), restarted it and found the Steam.exe location. Running it that's where I am. Steam 'installs' or seems to, but it won't fully launch.

@Gcenx
Copy link

Gcenx commented Feb 20, 2025

Steam installation can be rather quick but if your connection to archive.org is slow then that will affect the Steam install (below wine-9.0)

@Gcenx
Copy link

Gcenx commented Feb 20, 2025

I tried a couple of times doing that. Steam would 'load' but just sit in the Dock and never show up. There were about 5-6 processes of steamwebhelper. Never had luck with Kegworks actually installing Steam

Steam must be installed via the winetricks menu or it won’t work correctly (until wine-9.0) in Kegworks.

@Madoc439
Copy link

Madoc439 commented Feb 20, 2025 via email

@Madoc439
Copy link

I tried a couple of times doing that. Steam would 'load' but just sit in the Dock and never show up. There were about 5-6 processes of steamwebhelper. Never had luck with Kegworks actually installing Steam

Steam must be installed via the winetricks menu or it won’t work correctly (until wine-9.0) in Kegworks.

It worked for 2-3 loads, Pantheon worked great. Now I am getting a Unity 6 crash every time. I know this isn't the Kegworks forum. Just strange that it worked and suddenly stopped. Oh well :)

@itskando
Copy link
Author

itskando commented Feb 21, 2025 via email

@itskando
Copy link
Author

itskando commented Feb 21, 2025 via email

@Madoc439
Copy link

Before your next retry, make sure all instances of steam and wine are
killed to be sure there's no hanging processes. Make sure you're quitting
out of the apps through their in-app exit processes and not just killing
the window with the macOS close (X) or Windows close [X] buttons to ensure
a clean quit which doesn't result in a hanging process.

I had to end up killing Kegworks, killing my keg. Removing Kegworks, redownloading everything and now it works. Who knows why it failed before. I even rebooted my Mac to make sure nothing was hanging on and it would not work. I suspect it was some graphics setting I flipped to make it fail. Now that it works I am not changing any settings in the game. I bet that uninstalling the game and reinstalling might have fixed it. I will try that next time unless someone knows how to reset all settings in the game on load from Steam :)

@itskando
Copy link
Author

itskando commented Feb 24, 2025 via email

@itskando
Copy link
Author

itskando commented Feb 24, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants