ResoniteModdingGroup / MonkeyLoader.GamePacks.ResoniteModLoader

MonkeyLoader Game Pack that provides compatibility for ResoniteModLoader.
GNU Lesser General Public License v3.0
5 stars 1 forks source link

ResoniteIKCulling throws error on loading #12

Closed Nytra closed 1 month ago

Nytra commented 2 months ago

Mod: https://github.com/Raidriar796/ResoniteIkCulling

Log:

DESKTOP-H976HO2 - 2024.5.7.505 - 2024-05-16 13_44_41.log

13:44:52.002 ( -1 FPS)  [WARN]  [MonkeyLoader|ResoniteModLoader|ModLoader] Failed to load mod from rml_mods: rml_mods\ResoniteIKCulling.dll
Exception has been thrown by the target of an invocation.
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at ResoniteModLoader.RmlMod..ctor (MonkeyLoader.MonkeyLoader loader, System.String location, System.Boolean isGamePack) [0x00051] in <63dab0804ba04ae7a575f5b82cfea739>:0 
  at ResoniteModLoader.ModLoader+<LoadMods>d__15.MoveNext () [0x00087] in <63dab0804ba04ae7a575f5b82cfea739>:0 
The type initializer for 'IkCulling.IkCulling' threw an exception.
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <9577ac7a62ef43179789031239ba8798>:0 
Description must not be just whitespace.
  at MonkeyLoader.Configuration.ConfigKeyDescription..ctor (System.String description) [0x00012] in <e4c66f95ad384808a6c9f4c168ebbb68>:0 
  at MonkeyLoader.Configuration.DefiningConfigKey`1[T]..ctor (System.String id, System.String description, System.Func`1[TResult] computeDefault, System.Boolean internalAccessOnly, System.Predicate`1[T] valueValidator) [0x0004c] in <e4c66f95ad384808a6c9f4c168ebbb68>:0 
  at ResoniteModLoader.ModConfigurationKey`1[T]..ctor (System.String name, System.String description, System.Func`1[TResult] computeDefault, System.Boolean internalAccessOnly, System.Predicate`1[T] valueValidator) [0x00086] in <63dab0804ba04ae7a575f5b82cfea739>:0 
  at IkCulling.IkCulling..cctor () [0x00026] in <2d4efa9a5a414051adc886e88070dbe6>:0 
Banane9 commented 2 months ago

I thought this was the same as https://github.com/MonkeyModdingTroop/MonkeyLoader/pull/17 first, but I guess this is a funny with the creation of the components. Not null check vs not null or whitespace.