Osiris489 Posted May 5, 2022 Share Posted May 5, 2022 Hello, I would like some assistance on an issue that I can't quite resolve. Essentially, it says "Unfortunately TweakScale didn't found needed DLLs." bla bla bla, corrupt game stuff "Missing Class: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown." It tells me to click "OK" and it will download tweakscale from a trusted distribution channel, and KSP will close. When ever I do click OK, KSP closes but nothing else happens. Do you have an Idea of how to fixt this? Link to comment Share on other sites More sharing options...
Geonovast Posted May 5, 2022 Share Posted May 5, 2022 Moved to modded tech support Link to comment Share on other sites More sharing options...
zer0Kerbal Posted May 6, 2022 Share Posted May 6, 2022 (edited) @Osiris489 - technically this probably isn't a TweakScale issue - rather TweakScale informing you of an problem with either your game or another mod having issues. Best to post this in the TweakScale thread, but I will ping the author for you: @Lisias @Lisias @Lisias Edited May 6, 2022 by zer0Kerbal Link to comment Share on other sites More sharing options...
Lisias Posted May 6, 2022 Share Posted May 6, 2022 (edited) 12 hours ago, Osiris489 said: Hello, I would like some assistance on an issue that I can't quite resolve. Essentially, it says "Unfortunately TweakScale didn't found needed DLLs." bla bla bla, corrupt game stuff "Missing Class: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown." It tells me to click "OK" and it will download tweakscale from a trusted distribution channel, and KSP will close. When ever I do click OK, KSP closes but nothing else happens. Do you have an Idea of how to fixt this? Hi! You was bitten by a nasty KSP bug on a thingy called Assembly Loader/Resolver yada yada yada . TL;DR. when something borks being loaded due a faulty dependence, everything else trying to load something (or to use a thingy called Reflection) borks relentlessly due the bug. And since TweakScale makes heavy and critical use of exactly these two things. TweakScale yells when it detects this happened (because a faulty TweakScale will ruin your whole savegame). The only way out of the mess is to diagnose and fix the real cause of the problem (as TweakScale is only the splash damage). Publish your full KSP.log here using dropbox or something, and I will give it a look - further instructions about how to do it can be found on this link. 1 hour ago, zer0Kerbal said: @Lisias @Lisias @Lisias Spoiler Knock first!!!! Edited May 6, 2022 by Lisias better video Link to comment Share on other sites More sharing options...
zer0Kerbal Posted May 6, 2022 Share Posted May 6, 2022 1 minute ago, Lisias said: did I just say you were in the guise of a Beatle? Spoiler Link to comment Share on other sites More sharing options...
Osiris489 Posted May 9, 2022 Author Share Posted May 9, 2022 (edited) KSP.log Really hope this is what you were looking for. As much as I pride myself at being a good tech guy, sometimes these things stump me. Edited May 9, 2022 by Osiris489 Link to comment Share on other sites More sharing options...
Osiris489 Posted May 9, 2022 Author Share Posted May 9, 2022 @Lisias^^ Link to comment Share on other sites More sharing options...
Lisias Posted May 9, 2022 Share Posted May 9, 2022 1 hour ago, Osiris489 said: KSP.log Hi! I think you sent me the wrong link. DropBox has an option somewhere to generate a link for downloading. This one you sent appears to be the one you use to managed the content, and it's available only to you. Link to comment Share on other sites More sharing options...
Osiris489 Posted May 9, 2022 Author Share Posted May 9, 2022 @Lisias Perhaps this will work? https://www.dropbox.com/s/jpljcxf67pibsou/KSP.log?dl=0 Link to comment Share on other sites More sharing options...
Lisias Posted May 9, 2022 Share Posted May 9, 2022 6 hours ago, Osiris489 said: @Lisias Perhaps this will work? https://www.dropbox.com/s/jpljcxf67pibsou/KSP.log?dl=0 Dude, you were bitten by a nasty KSP bug on a thingy called Loader/Resolver yada yada yada . TL;DR. when something borks being loaded due a faulty dependence, everything else trying to load something (or to use a thingy called Reflection) borks relentlessly due the bug. And since TweakScale makes heavy and critical use of exactly these two things. TweakScale yells when it detects this happened (because a faulty TweakScale will ruin your whole savegame). Usually the first Reflection Exception pinpoints the unlucky DLL that stepped on that landmine, but your LOG is weird: [LOG 18:17:06.117] [TitleNotAvailable] Version B9-PWings-Fork, Version=0.43.0.10, Culture=neutral, PublicKeyToken=null [EXC 18:17:06.124] FileNotFoundException: Could not load file or assembly 'KSPUtil, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) KSPUtil is a internal KSP Assembly, it's always there. So somehow we have this new way of triggering the problem. On a pretty wild guess, remove B9-Wings-Fork and restart KSP to see if the problem goes away. Link to comment Share on other sites More sharing options...
Osiris489 Posted May 9, 2022 Author Share Posted May 9, 2022 1 hour ago, Lisias said: Usually the first Reflection Exception pinpoints the unlucky DLL that stepped on that landmine, but your LOG is weird: Define "Weird," if you could. And is there an immediate solution? Link to comment Share on other sites More sharing options...
Lisias Posted May 9, 2022 Share Posted May 9, 2022 (edited) 6 hours ago, Osiris489 said: Define "Weird," if you could. And is there an immediate solution? There's this new Modus Operandi on KSP.log since a few months ago where the Exceptions I need to diagnose the problem appears to be filtered from KSP.log. MechJeb uses to invert some logging somehow, so when MechJeb is installed, the first Reflection Exception is not the culprit, as the real troublemaker somehow is logged some time later. There're some add'ons that some people like to use to show Exceptions on the screen instead of the log, and so when something bad happens, the KSP doesn't have anymore the information I need. But you are not using any of the ones I know BDArmory used to cause some trouble in the past (some mishap on one of the dependencies), but it used to log a hint on KSP.log about, and there's none on yours. So we have no choice but going Combinatorial Analysis. Remove the following add'ons from your rig and see if the problem goes away: B9AnimationModules v1.6.0.0 / vv1.6.0 B9PartSwitch v2.18.0.0 / vv2.18.0 B9-PWings-Fork v0.43.0.10 BahaTurret v1.0.0.0 BDArmory.Core v1.3.4.0 BDArmory v1.3.5.0 I have absolutely no evidence on the KSP.log that they could be misbehaving, but these ones already triggered this problem in the past, so it's a good bet to start with them. If the problem vanishes, we found where the problem is. So, install back them one by one until the problem happens again. The last one installed will be culprit, and then you will need to reach the maintainer for further help. Keep in mind that your KSP.log is littered with exceptions, TweakScale is only the one complaining about: [LOG 18:17:25.316] Load(Texture): BDArmory/Parts/ABL/texture [EXC 18:17:25.321] TypeLoadException: Failure has occurred while loading a type. UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) [EXC 18:17:25.322] TypeLoadException: Failure has occurred while loading a type. UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) [EXC 18:17:25.329] TypeLoadException: Failure has occurred while loading a type. UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) [EXC 18:17:25.330] TypeLoadException: Failure has occurred while loading a type. UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) [EXC 18:17:25.337] TypeLoadException: Failure has occurred while loading a type. UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) So you really need to solve this problem in order to have a stable KSP to play. Edited May 9, 2022 by Lisias tyops as usulla... Link to comment Share on other sites More sharing options...
Osiris489 Posted May 9, 2022 Author Share Posted May 9, 2022 Problem solved! The problem was that I combined an older BDArmory with a newer, and added files present in the older that weren't in the newer. The error was all me. Thank you very much for all your help. Very likely would never had figured it out without you. Link to comment Share on other sites More sharing options...
Chbiertje Posted September 24, 2022 Share Posted September 24, 2022 (edited) Dear @Lisias , I have a similar problem as discussed above, the first image shows the error and the second the mods list. All logs and images can be found here: https://www.dropbox.com/t/X3mBsaDm1peClSF4 I am quite new to this so if I miss matched some mods that are known to be an issue, please educate me :). Kind regard, A fellow KSP player named Chbiertje Edited September 24, 2022 by Chbiertje I fixed it :) Link to comment Share on other sites More sharing options...
Kanoki_Sakurai Posted July 6, 2023 Share Posted July 6, 2023 It would be EXTREMELY appreciated if someone could help me out.. don't mind the fire specs im running B) https://www.dropbox.com/s/udtasdiyzywqsn2/KSP.log?dl=0 i think that's how sharing stuff works.. but erm.. ima goob around in other games until someone helps me.. I'm not smart enough to figure this out- any and all help is appreciated.. I'd purge all my files if it means I can play more ksp >w< Link to comment Share on other sites More sharing options...
Kanoki_Sakurai Posted July 6, 2023 Share Posted July 6, 2023 i seemingly fixed it by removing a mod.. so uh.. yeah- Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now