When I load the game gives me the following error message: [Info : BepInEx] Loading [CustomPortraits 1.1.2] [Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type Wish.DialogueController and name SetDialogueBustVisualsOptimized and parameters (UnityEngine.Vector2, string, bool, bool, bool, bool, bool, bool) [Error : Unity Log] ArgumentException: Undefined target method for patch method static bool CustomPortraits.Plugin+Patches::SetDialogueBustVisualsOptimized(Wish.DialogueController& __instance, UnityEngine.UI.Image& ____bust, UnityEngine.Vector2 offset, string name, bool small, bool isMarriageBust, bool isSwimsuitBust, bool hideName, bool isRefreshBust, bool isHalloweenBust) Stack trace: HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0) Rethrow as HarmonyException: Patching exception in method null HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.<PatchAll>b__11_0 (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.PatchAll () (at <474744d65d8e460fa08cd5fd82b5d65f>:0) CustomPortraits.Plugin.Awake () (at <58ee764cac3040e29d51bb99fbead824>:0) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() UnityEngine.Application:.cctor() Sirenix.Serialization.UnitySerializationInitializer:Initialize() Sirenix.Serialization.UnitySerializationInitializer:InitializeRuntime() I looked it up in AI and its saying there an error in method patching due to incorrect parameters or missing method definition? IDK if that helps. Honestly, IDK if this is a problem with this mod or the portraits I am trying to mod...
For anyone looking to make the Shizijie made like me
All you need to do is Delete your older "CustomTextures" folder in \BepInEx\plugins, before install this mod : https://www.nexusmods.com/sunhaven/mods/278?tab=files
After installing it, launch the game One time so that it creates a folder in \BepInEx\plugins named "CustomTextures" And after that you just have to extract Shizijie in this folder, And it should be good!
hello,i wanted to ask if anyone succeeded in running this mod in Mac?TT I can run some other dll mod but this one and same as custom texture can't be load at all.am I missing something or it just dont support Mac?
I wanted to make custom portraits for all the townies who don't have one. I started with Emmett and added it to the custom portraits folder, but it's not showing up in game. I'm wondering if I did something wrong, or if they don't have portraits enabled/coded in?
Has it broken again for the 2.0 update? Is anyone else having issues or is it just me. It's not giving me any errors but is also not showing the portraits.
Hi! I'm a little confused. I can't seem to find install instructions for this anywhere. Where in the game files do I put this unzipped mod file? I have installed BepInEx, though it isn't listed in the install requirements. I would like to use the HD Pixel Portraits Pack (by Mieu), but I'm supposed to put the .rar files into a "CustomPortraits" folder, but BepInEx's "plugin" folder is empty. Thank you for making this mod <3
70 comments
[Info : BepInEx] Loading [CustomPortraits 1.1.2]
[Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type Wish.DialogueController and name SetDialogueBustVisualsOptimized and parameters (UnityEngine.Vector2, string, bool, bool, bool, bool, bool, bool)
[Error : Unity Log] ArgumentException: Undefined target method for patch method static bool CustomPortraits.Plugin+Patches::SetDialogueBustVisualsOptimized(Wish.DialogueController& __instance, UnityEngine.UI.Image& ____bust, UnityEngine.Vector2 offset, string name, bool small, bool isMarriageBust, bool isSwimsuitBust, bool hideName, bool isRefreshBust, bool isHalloweenBust)
Stack trace:
HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
Rethrow as HarmonyException: Patching exception in method null
HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.<PatchAll>b__11_0 (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.PatchAll () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
CustomPortraits.Plugin.Awake () (at <58ee764cac3040e29d51bb99fbead824>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()
Sirenix.Serialization.UnitySerializationInitializer:Initialize()
Sirenix.Serialization.UnitySerializationInitializer:InitializeRuntime()
I looked it up in AI and its saying there an error in method patching due to incorrect parameters or missing method definition? IDK if that helps. Honestly, IDK if this is a problem with this mod or the portraits I am trying to mod...
All you need to do is Delete your older "CustomTextures" folder in \BepInEx\plugins,
before install this mod : https://www.nexusmods.com/sunhaven/mods/278?tab=files
After installing it, launch the game One time so that it creates a folder in \BepInEx\plugins named "CustomTextures" And after that you just have to extract Shizijie in this folder, And it should be good!
I wanted to make custom portraits for all the townies who don't have one. I started with Emmett and added it to the custom portraits folder, but it's not showing up in game. I'm wondering if I did something wrong, or if they don't have portraits enabled/coded in?
Thank you,