BIG REVAMP Version 0.10.0 of PlanBuild comes with a big internal code refactor and many changes to the handling of plans and blueprints. Please make sure to check out the changelog and documentation. The biggest changes in a nutshell:
Instead of switching plan and blueprint mode on the rune, you now have two distinct tools, the Plan Hammer and the Blueprint Rune.
Lots of improvements to the Selection tools. You can add and remove parts of your buildings to a selection and need to use the Edit Selection tool or the selection.gui console command to save or copy your blueprint.
You can copy+paste blueprints directly without having to save them (clipboard).
Most actions can be reversed and replayed using the bp.undo and bp.redo console commands.
New save dialogue which lets you enter a category and description directly
Completely reworked the Marketplace GUI, including categories and clipboard
The configuration was redesigned for more clarity. Please revise your configuration once after installing this version.
Hey all, wondering if anyone has experienced this and knows a fix. Loads the mods and all dependencies and I'm able to build both rune tools and see the options, but when trying to use any of them (terrain brushes, object deletion, etc.) I guess this error in the log:
[Error : Unity Log] FileNotFoundException: Could not load file or assembly 'MMHOOK_assembly_valheim, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Stack trace:
I also experience this issue. no clue how to go about fixing this. Only mod I have installed presently is Plan Build with the listed dependencies.
One other item of note is when equipping the Blueprint Rune and right clicking, there is NO blueprint tab. Only the tools tab but NONE of the tools seem to work.
Same issue with me, the rune tools are not working. I don't see any radius when trying to blueprint a structure, for example. None of them seem to work. This is with the main branch and not the ashlands beta.
I actually managed to duct tape this particular issue myself, lol. I did a little experimenting and I found that if I went into bepinex config, and opened the Mhook mod config, I just removed the prompt to hook "MMHOOK_assembly_valheim", so unity skipped that one. It worked, but it stands on stilts as it is hehe. Hope this helps someone for now
program files > Steam > Steamapps > common > valheim > bepinex (if thats what you use, hopefully) > config > hookgenpatcher (open with notes, lets you write and edit settings) > remove the prompt to hook "MMHOOK_assembly_valheim" in the string of prompts. May not work depending on versions of stuff, but I very barely got this to work for me but hopefully once patch goes live this will be updated in a proper way. Hope it helps!
I tried this method, and didnt work when I had the exact same issue, but what I did to solve was to download the version 004 of HookPatcher Gen through the linked site on dependencies, instead of through nexus. (nexus is only ver 003.) then it gave me the new tools like plan hammer, skull etc. as well, and buttons work as intended. Maybe it helps to double check which version you've downloaded.
Got this when I try to launch the game. Any idea ? [Error : Unity Log] TypeLoadException: Could not load type of field 'PlanBuild.Blueprints.BlueprintManager+<>c:<>9__9_0' (1) due to: Could not load file or assembly 'MMHOOK_assembly_valheim, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.Stack trace: PlanBuild.PlanBuildPlugin.Awake () (at <787fcd34337844b082ec8eed172311d8>:0) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() UnityEngine.UI.Graphic:get_canvas() TMPro.TextMeshProUGUI:OnCanvasHierarchyChanged()
Make sure to install the HookGenPatcher dependency mod, and check that it has this config: "HookGenPatcher.cfg", the default value is incorrect sometimes:
[General]
## Assembly names to make mmhooks for, separate entries with : , # Setting type: String # Default value: Assembly-CSharp.dll MMHOOKAssemblyNames = assembly_googleanalytics.dll,assembly_guiutils.dll,assembly_lux.dll,assembly_postprocessing.dll,assembly_simplemeshcombine.dll,assembly_steamworks.dll,assembly_sunshafts.dll,assembly_utils.dll,assembly_valheim.dll
## Hash file using contents instead of size. Minor perfomance impact. # Setting type: Boolean # Default value: false Preciser filehashing = false
For some reason, very recently, every planned piece is now solid pink instead of transparent. Not sure how to fix, as I even tried a clean installation with nothing but this mod and it's requirements and it still showed as solid pink.
[Error : Unity Log] TypeLoadException: Could not load type of field 'PlanBuild.Blueprints.BlueprintManager+<>c:<>9__9_0' (1) due to: Could not load file or assembly 'MMHOOK_assembly_valheim, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Stack trace: PlanBuild.PlanBuildPlugin.Awake () (at <2ad234d4a05e4c82816b58eeab1f12d2>:0) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() UnityEngine.GameObject:.cctor() PlatformTools.Common.SingletonMonoBehaviour`1:get_Instance() PlatformTools.PlatformManagerInitializer:OnRuntimeMethodLoad()
824 comments
Version 0.10.0 of PlanBuild comes with a big internal code refactor and many changes to the handling of plans and blueprints. Please make sure to check out the changelog and documentation. The biggest changes in a nutshell:
[Error : Unity Log] FileNotFoundException: Could not load file or assembly 'MMHOOK_assembly_valheim, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Stack trace:
Any ideas?
One other item of note is when equipping the Blueprint Rune and right clicking, there is NO blueprint tab. Only the tools tab but NONE of the tools seem to work.
Any idea ?
[Error : Unity Log] TypeLoadException: Could not load type of field 'PlanBuild.Blueprints.BlueprintManager+<>c:<>9__9_0' (1) due to: Could not load file or assembly 'MMHOOK_assembly_valheim, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.Stack trace:
PlanBuild.PlanBuildPlugin.Awake () (at <787fcd34337844b082ec8eed172311d8>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.UI.Graphic:get_canvas()
TMPro.TextMeshProUGUI:OnCanvasHierarchyChanged()
Also, interrace on launch is in chinese :
[General]
## Assembly names to make mmhooks for, separate entries with : ,
# Setting type: String
# Default value: Assembly-CSharp.dll
MMHOOKAssemblyNames = assembly_googleanalytics.dll,assembly_guiutils.dll,assembly_lux.dll,assembly_postprocessing.dll,assembly_simplemeshcombine.dll,assembly_steamworks.dll,assembly_sunshafts.dll,assembly_utils.dll,assembly_valheim.dll
## Hash file using contents instead of size. Minor perfomance impact.
# Setting type: Boolean
# Default value: false
Preciser filehashing = false
Update: Nevermind, deleting the Chinese translation folder from the mod file helped
this should help while mod dev gets stuff sorted (if he ever does)
Nevermind. Was issue with patch breaking after v2.0.0 raft changes I'll make a PR once v2.0.0 is out.
[Error : Unity Log] TypeLoadException: Could not load type of field 'PlanBuild.Blueprints.BlueprintManager+<>c:<>9__9_0' (1) due to: Could not load file or assembly 'MMHOOK_assembly_valheim, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Stack trace:
PlanBuild.PlanBuildPlugin.Awake () (at <2ad234d4a05e4c82816b58eeab1f12d2>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.GameObject:.cctor()
PlatformTools.Common.SingletonMonoBehaviour`1:get_Instance()
PlatformTools.PlatformManagerInitializer:OnRuntimeMethodLoad()