Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depthmasks dont work, even if 1.1.0.0 onwards should #14

Closed
brandon-giffin123 opened this issue Jun 30, 2024 · 2 comments
Closed

Depthmasks dont work, even if 1.1.0.0 onwards should #14

brandon-giffin123 opened this issue Jun 30, 2024 · 2 comments

Comments

@brandon-giffin123
Copy link

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

@LGhassen
Copy link
Owner

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

@LGhassen
Copy link
Owner

LGhassen commented Jun 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants