For some reason, this mod breaks with TweakScale installed. Whenever I start my game, I get a popup saying from TweakScale saying that DLL files are missing with the error "Missing class: The invoked member is not supported in a dynamic module".
In the log, the full error is:
[TweakScale] ERROR: System.NotSupportedException: The invoked member is not supported in a dynamic module.
at System.Reflection.Emit.AssemblyBuilder.get_Location () [0x00006] in <9577ac7a62ef43179789031239ba8798>:0
at KSPCommunityFixes.Modding.ReflectionTypeLoadExceptionHandler+FailedAssembly..ctor (System.Reflection.Assembly assembly) [0x000b8] in <3a1e5be8c8bf4d7cb62e9bf5397ce391>:0
at KSPCommunityFixes.Modding.ReflectionTypeLoadExceptionHandler.LogReflectionTypeLoadExceptionInfo (System.Reflection.Assembly assembly) [0x00021] in <3a1e5be8c8bf4d7cb62e9bf5397ce391>:0
at KSPCommunityFixes.Modding.ReflectionTypeLoadExceptionHandler.Assembly_GetTypes_Prefix (System.Reflection.Assembly __instance, System.Type[]& __result) [0x0000c] in <3a1e5be8c8bf4d7cb62e9bf5397ce391>:0
at (wrapper dynamic-method) System.Reflection.Assembly.System.Reflection.Assembly.GetTypes_Patch1(System.Reflection.Assembly)
at KSPe.Util.SystemTools+Type+Find.ByQualifiedName (System.String qn) [0x00039] in <1e3c19e0f1054025907fef85b1a03a48>:0
at KSPe.Util.SystemTools+Type+Finder.FindByQualifiedName (System.String qn) [0x00000] in <1e3c19e0f1054025907fef85b1a03a48>:0
at TweakScale.Startup.Start () [0x000a3] in <62ab179107a144c5a3808f0cd36a9f76>:0 at error:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
[TweakScale] "Houston, we have a problem!" about missing DLLs was displayed (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Now, I installed this mod and a few others at the same time, so I removed all the folders one at a time until it worked again, and doing this I figured out that it's KopernicusExpansion that's breaking it.
If I remove that folder, and nothing else, it doesn't show any error.
So what could be the problem? I tried reinstalling TweakScale and that didn't fix it, so nothing should be wrong there.
Thanks!
LOG: https://file.io/kIPJxmUeeT6C
EDIT: Just saw that someone else had posted this aswell. Added log file.