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

New Valheim version incompatible with BepInEx (SendPreWillRenderCanvases in [UnityEngine.UIModule.dll]UnityEngine.Canvas) #246

Closed
f1am3d opened this issue May 12, 2021 · 9 comments
Labels
game-specific The issue is related to a specific game and not general BepInEx

Comments

@f1am3d
Copy link

f1am3d commented May 12, 2021

During load bepinex:
[Error : Unity Log] Unable to find method SendPreWillRenderCanvases in [UnityEngine.UIModule.dll]UnityEngine.Canvas

@ghorsington
Copy link
Contributor

Greetings!

I assume you're using BepInExPack Valheim on Thunderstore. Valheim was recently updated to use a newer Unity version which has slightly updated Unity DLLs which conflict with the unstripped ones that are shipped with the pack (refer to NeighTools/UnityDoorstop#10 for more info on why this is done for Valheim).

BepInExPack Valheim was just updated to version 5.4.1001 which includes updated DLLs. Please update if you haven't done so yet.

@holgero
Copy link

holgero commented May 12, 2021

Wow! What a fast reaction. I just noticed my installation didn't start anymore and nearly the first thing I find on the web is the already closed issue about this. Kudos!

@f1am3d
Copy link
Author

f1am3d commented May 12, 2021

@ghorsington Thank you for such a quick response!

@ghorsington ghorsington added the game-specific The issue is related to a specific game and not general BepInEx label May 12, 2021
@ghorsington ghorsington changed the title New Valheim version incompatible with Bepinex New Valheim version incompatible with BepInEx (SendPreWillRenderCanvases in [UnityEngine.UIModule.dll]UnityEngine.Canvas) May 13, 2021
@ghorsington ghorsington pinned this issue May 13, 2021
@AlexandruVerenca
Copy link

I'm having the same exact issue with the latest version installed.

@DeadSix27
Copy link

DeadSix27 commented Jun 10, 2022

I think in the latest version (Valheim 209.5) it stopped working again and needs new corlibs? I downloaded Unity and picked version 2020.3.0f1 which seemed to be the version valheim uses now, however even after getting together all the libs from the unity install and replacing them in the corlib folder it still crashes.. but it did at least show up the bepin console..

I probably just used a wrong version or so.. this stacktrace was logged:

ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFAC00C7611)
0x00007FFAC00C7611 (UnityPlayer) (function-name not available)

@ghorsington
Copy link
Contributor

I think in the latest version (Valheim 209.5) it stopped working again and needs new corlibs? I downloaded Unity and picked version 2020.3.0f1 which seemed to be the version valheim uses now, however even after getting together all the libs from the unity install and replacing them in the corlib folder it still crashes.. but it did at least show up the bepin console..

The latest version is only available via public-test branch. You can manually download and extract the correct Unity core libraries from https://unity.bepinex.dev/ until the update is officially released. Once the update is officially live, BepInExPack for Valheim will be updated to include the new core libraries automatically.

@DeadSix27
Copy link

DeadSix27 commented Jun 10, 2022

you can manually download and extract the correct Unity core libraries from https://unity.bepinex.dev/

The site only offers me basic basic mono libraries (e.g System*) and UnityEngine.dll, but the game has way more unstripped libraries in the folder, where would I acquire those ? Furthermore, what do the version numbers on that site represent? 3.4.x is not a Unity engine version right?

Still doesn't work but at least i realized that the version text box on the website is not sorted correctly 🙃 ...

@MrLawbreaker
Copy link

MrLawbreaker commented Jun 20, 2022

The latest version is only available via public-test branch. You can manually download and extract the correct Unity core libraries from https://unity.bepinex.dev/ until the update is officially released. Once the update is officially live, BepInExPack for Valheim will be updated to include the new core libraries automatically.

The Game Update is now out, waiting for the library update BepInEx is updated now :)

@Alex134831
Copy link

pls some attention to fixing BepInEx on arm64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
game-specific The issue is related to a specific game and not general BepInEx
Projects
None yet
Development

No branches or pull requests

7 participants