KSP Recall

KSP Recall

345k Downloads

Something screwed up with KSP-Recall.dll Startup.

Lisias opened this issue · 9 comments

commented

Didn't understood what happened.

Trying to figure it out.

commented

Found the reason

[EXC 21:30:01.009] TypeLoadException: Could not resolve type with token 01000012 (from typeref, class/assembly KSPe.Util.SystemTools, KSPe.Light.Recall, Version=2.3.1.0, Culture=neutral, P
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        KSPe.Util.Log.UnityLogDecorator:UnityEngine.ILogHandler.LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
commented

Found this:

mono/mono#7410

commented

Oukey. I just used the very same binaries to KSP 1.12.1 and they worked. It really appears to be something missing on the KSP 1.12.2 runtime…

commented

Weird! Now, on KSP 1.12.1, the thing works, but MM WatchDog now is borking due a similar problem, but using a different token number….

commented

AAAND…. The problem vanished. o.O

Don't know if I blame Microsoft, Unity or Apple for this one…

— EDIT —
Por encresça que parível, eles são inocentes nessa. :D

commented

AAAAND… It's back!!!

[EXC 01:00:17.341] TypeLoadException: Could not resolve type with token 01000014 (from typeref, class/assembly Loader, )
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        KSPe.Util.Log.UnityLogDecorator:UnityEngine.ILogHandler.LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Now with a new token! Marvelous, uh?

commented

Aaaand… Its gone again.

commented

I found the problem - a DLL file with the wrong timestamp fooled the deployment and ended up being copied into the testing bed. I think these token thingies are protected/internal artefacts not meant to be exported, and so don't have a proper name on the symbol table.

commented

(don't ask me how that timestamp changed)