LGhassen / Deferred

Add deferred rendering to KSP
Other
72 stars 2 forks source link

Depthmasks dont work, even if 1.1.0.0 onwards should #14

Closed brandon-giffin123 closed 3 months ago

brandon-giffin123 commented 3 months ago

depthmasks dont work with the mod on. heres my log if that helps KSP.log

LGhassen commented 3 months ago

Send screenshots, I tested them with restock and they work perfectly

LGhassen commented 3 months ago

You have an error here causing Shabby to crash (and therefore shader replacement to fail)

[EXC 00:29:25.224] MissingMethodException: void UnityEngine.GUIText.set_text(string)
    System.Reflection.MonoModule.ResolveMethod (System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) (at <9577ac7a62ef43179789031239ba8798>:0)
    HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction) (at <212c5fc0752a439c852373c986c00088>:0)
    HarmonyLib.MethodBodyReader.ReadInstructions () (at <212c5fc0752a439c852373c986c00088>:0)
    HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables) (at <212c5fc0752a439c852373c986c00088>:0)
    HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) (at <212c5fc0752a439c852373c986c00088>:0)
    HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) (at <212c5fc0752a439c852373c986c00088>:0)
    HarmonyLib.PatchProcessor.Patch () (at <212c5fc0752a439c852373c986c00088>:0)
    HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) (at <212c5fc0752a439c852373c986c00088>:0)
    Shabby.Shabby.Start () (at <1e1ec9541eca467caec5c0f1a0ab4255>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

I don't know what's causing it, likely a mod from an incompatible KSP version. Fix your install and it will fix itself.