StationeersAddons / Stationeers.Addons

Stationeers.Addons is a fully-fledged modding framework for Stationeers. Works just like the standard mods (XML) but with sandboxed scripting (C#) and custom-content support!
MIT License
37 stars 15 forks source link

Error on harmony patching #2

Open TurkeyKittin opened 3 years ago

TurkeyKittin commented 3 years ago

Unable to load mods that apply patches to the game via harmony.

Steps to reproduce: Clean install of game Clean install of AddonManager v0.2.0 Run Patcher Subscribe to workshop ExampleMod Run game

Player.log error:

Loaded 1 plugins
Patching game assembly using Harmony...
Applying patches from assembly 'workshop-2308921579-Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
Fallback handler could not load library D:/SteamLibrary/steamapps/common/Stationeers/rocketstation_Data/Mono/data-000002270CCDC0C0.dll
Fallback handler could not load library D:/SteamLibrary/steamapps/common/Stationeers/rocketstation_Data/Mono/data-000002273AEDE180.dll
Fallback handler could not load library D:/SteamLibrary/steamapps/common/Stationeers/rocketstation_Data/Mono/data-000002270C7F0C80.dll
Erdroy commented 3 years ago

Looks like Harmony is getting into some conflict with the Unity's Burst compiler and/or it's internal functionality. I took a look at this, and found out, that this is some sort of non-critical error, and doesn't affect the game/plugins.

We might consider marking this issue as wontfix and leave it open (if there will be no new issues related to this).