PsychoDad9999 / ONI-Mods

Mods for Oxygen Not Included
MIT License
1 stars 1 forks source link

Fixed Ore Scrubber - new version crashes on vanilla #2

Closed jhammersholt closed 3 years ago

jhammersholt commented 3 years ago

When having only vanilla version, newest version crashes

My guess is you updated to harmony 2, however vanilla still only supports harmony 1

[20:47:44.566] [1] [INFO] Loading MOD dll: FixedOreScrubber.dll
[20:47:44.575] [1] [ERROR] null Exception while loading mod 2172549146.Steam at C:/Users/[REDACTED]/Documents/Klei/OxygenNotIncluded/mods/Steam/2172549146. 
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 <9577ac7a62ef43179789031239ba8798>:0 
  at KMod.DLLLoader.LoadDLLs (System.String harmonyId, System.String path) [0x00153] in <ab4bdc425be2489bb8a9b667082958c0>:0 
Exception while loading mod 2172549146.Steam at C:/Users/[REDACTED]/Documents/Klei/OxygenNotIncluded/mods/Steam/2172549146. 
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 <9577ac7a62ef43179789031239ba8798>:0 
  at KMod.DLLLoader.LoadDLLs (System.String harmonyId, System.String path) [0x00153] in <ab4bdc425be2489bb8a9b667082958c0>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

and this?

[20:48:04.661] [1] [INFO] Subscribe to mod Fixed Ore Scrubber
[20:48:04.661] [1] [INFO]   Uninstalling mod Fixed Ore Scrubber
[20:48:04.663] [1] [INFO] UnauthorizedAccessException during IO on  C:/Users/[REDACTED]/Documents/Klei/OxygenNotIncluded/mods/Steam/2172549146 , squelching. Stack trace was:
 Access to the path "C:/Users/[REDACTED]/Documents/Klei/OxygenNotIncluded/mods/Steam/2172549146\FixedOreScrubber.dll" is denied. 
   at Klei.FileUtil.DoIOFunc[T] (System.Func`1[TResult] io_op, System.Int32 retry_count) [0x00032] in <7888ce3a87c24906b6c550663f653f46>:0 
  at Klei.FileUtil.DoIODialog[T] (System.Func`1[TResult] io_op, System.String io_subject, T fail_result, System.Int32 retry_count) [0x00000] in <7888ce3a87c24906b6c550663f653f46>:0 
[20:48:04.663] [1] [INFO] Error encountered during file access: IOError error: C:/Users/[REDACTED]/Documents/Klei/OxygenNotIncluded/mods/Steam/2172549146
[20:48:04.664] [1] [INFO] Reporting error.
PsychoDad9999 commented 3 years ago

Thanks for the report. I'm still unable to reproduce the issue. Here it runs fine on Vanilla with Harmony 1 (DLC unchecked) as well as on the Mergedown Build with Harmony 2. Are you running it on a test build? What's your game version number exactly?

jhammersholt commented 3 years ago

Hmm i tried re enabling your mod and today i can't reproduce the error either, that's really weird but good :)

I even used the Mod Updater from Stephen to make sure the mod was current

Anyways thx for an awesome mod and sorry to have bothered you un-needed :)

PsychoDad9999 commented 3 years ago

Alright, thanks for the update