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

Comfy Gizmo causes errors in console, and interferes with Blueprint Rune #109

Open
Caledor2000 opened this issue Nov 20, 2024 · 0 comments · May be fixed by #114
Open

Comfy Gizmo causes errors in console, and interferes with Blueprint Rune #109

Caledor2000 opened this issue Nov 20, 2024 · 0 comments · May be fixed by #114

Comments

@Caledor2000
Copy link

When using the current version of Comfy Gizmo (1.12.0), the following errors appear in the BepInEx console:

[Info :PlanBuild.Plans.PlanManager] Initializing PlanManager
[Info :PlanBuild.Patches] Applying Gizmo patches
[Error : Unity Log] TypeLoadException: Could not load type ComfyGizmo.Patches.PlayerPatch, ComfyGizmo, Version=1.9.2.0, Culture=neutral, PublicKeyToken=null while decoding custom attribute: (null)
Stack trace:
System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Boolean inherit) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.Reflection.RuntimeMethodInfo.GetCustomAttributes (System.Boolean inherit) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
HarmonyLib.PatchTools+<>c__DisplayClass2_0.b__0 (System.Reflection.MethodInfo m) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate, System.Boolean& found) (at :0)
System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) (at :0)
HarmonyLib.PatchTools.GetPatchMethod (System.Type patchType, System.String attributeName) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor..ctor (HarmonyLib.Harmony instance, System.Type type, System.Boolean allowUnannotatedType) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.CreateClassProcessor (System.Type type, System.Boolean allowUnannotatedType) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.PatchAll (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
PlanBuild.Patches.Apply () (at :0)
PlanBuild.PlanBuildPlugin.Awake () (at :0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.GameObject:.cctor()
PlatformTools.Common.SingletonMonoBehaviour`1:get_Instance()
PlatformTools.PlatformManagerInitializer:OnRuntimeMethodLoad()

Using the Gizmo version 1.9.2 mentioned in the error log causes the error messages not to appear, but the actual issue remains in both versions.

When placing a saved blueprint using the blueprint rune, the Alt and Ctrl keys cause the blueprint to rotate and offset rather than just offset. It's the same issue that was mentioned in this older solved issue. The functions of Gizmo should be completely disabled when using the blueprint rune.

#50

@sea212 sea212 linked a pull request Dec 17, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant