SpikeHimself / XPortal

XPortal is a Valheim mod that lets you select a portal's destination from a list. XPortal is a complete rewrite of AnyPortal.
GNU General Public License v3.0
20 stars 6 forks source link

HarmonyX warning on plugin load #31

Closed GrimmLiberty closed 1 year ago

GrimmLiberty commented 1 year ago

See this in my logs....

[Warning: HarmonyX] AccessTools.GetTypesFromAssembly: assembly XPortal, Version=1.2.6.0, Culture=neutral, PublicKeyToken=null => System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool) at System.Reflection.Assembly.GetTypes () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at HarmonyLib.AccessTools.GetTypesFromAssembly (System.Reflection.Assembly assembly) [0x0000d] in <474744d65d8e460fa08cd5fd82b5d65f>:0

only shows up on load, and no other issues run into...

SpikeHimself commented 1 year ago

Hi, thanks for reporting!

This is a known issue and it's completely harmless.

When HarmonyX tries to process XPortal's patches, it discovers a reference that it cannot resolve. This reference is to a library that I use locally to manage XPortal's documentation, but XPortal does not ship with it.

Fix is underway :)

SpikeHimself commented 1 year ago

This has been fixed in v1.2.7 which released just a few moments ago.