KitsueFox / PPDS-Mods

Mods for Placid Plastic Duck Simulator
GNU General Public License v3.0
7 stars 1 forks source link

Could not load type of field 'Duck_Trainer.DuckTrainer:_enviroSky' #2

Closed Ogeru closed 1 year ago

Ogeru commented 1 year ago

There's an error when starting game, in MelonLoader :

[17:02:30.820] Melon Assembly loaded: '.\Mods\Duck.Trainer.dll'
[17:02:30.821] SHA256 Hash: '972ca59292a2f9acf7848613bd5c9e14494bb9fdda7e759b5a74a883dd5ad80d'
[17:02:30.831] [ERROR] Failed to load 1 Melon from Duck.Trainer.dll:
[17:02:30.831] [ERROR] Failed to load Melon 'Duck_Trainer.DuckTrainer': Failed to create an instance of the Melon.
[17:02:30.834] [ERROR] System.TypeLoadException: Could not load type of field 'Duck_Trainer.DuckTrainer:_enviroSky' (17) due to: Could not resolve type with token 01000017 (from typeref, class/assembly EnviroSky, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) assembly:Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:EnviroSky member:(null) signature:<none>
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x0001b] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
  at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x001a7] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
  at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x0004b] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
  at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture) [0x00000] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
  at MelonLoader.MelonAssembly.LoadMelons () [0x000c4] in <6425afb6ac6a429aaf770255d2f7de57>:0

[17:02:30.835] ------------------------------
[17:02:30.835] 0 Mods loaded.
KitsueFox commented 1 year ago

I'm pushing a fix right now

Ogeru commented 1 year ago

I'm pushing a fix right now

❤️

KitsueFox commented 1 year ago

Keep an eye out there should be a downloadable link in the release tab soon

Ogeru commented 1 year ago

It works like a charm now, thanks !