sirskunkalot / PlanBuild

Valheim mod enabling you to plan buildings, copy structures and terraform
Do What The F*ck You Want To Public License
11 stars 15 forks source link

Error when opening the piece manager #67

Open icemansparks opened 1 year ago

icemansparks commented 1 year ago

[Error :Jotunn.Managers.PieceManager] Error toggling piece selection window: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Jotunn.Managers.PieceManager+PieceTableCategories.PieceCategoryScroll (Piece+PieceCategory selectedCategory) [0x00000] in D:\Projects\Jotunn\JotunnLib\Managers\PieceManager.cs:1071 at Jotunn.Managers.PieceManager+PieceTableCategories.Toggle (System.Boolean isActive) [0x00067] in D:\Projects\Jotunn\JotunnLib\Managers\PieceManager.cs:914 at Jotunn.Managers.PieceManager.TogglePieceCategories () [0x00040] in D:\Projects\Jotunn\JotunnLib\Managers\PieceManager.cs:698 [Error : Unity Log] IndexOutOfRangeException: Index was outside the bounds of the array. Stack trace: Jotunn.Managers.PieceManager+PieceTableCategories.PieceCategoryScroll (Piece+PieceCategory selectedCategory) (at D:/Projects/Jotunn/JotunnLib/Managers/PieceManager.cs:1071) Jotunn.Managers.PieceManager+PieceTableCategories.PieceTable_PrevCategory (PieceTable self, Piece+PieceCategory oldCat) (at D:/Projects/Jotunn/JotunnLib/Managers/PieceManager.cs:1061) Jotunn.Managers.PieceManager+Patches.PieceTable_PrevCategory_Postfix (PieceTable __instance, Piece+PieceCategory& __state) (at D:/Projects/Jotunn/JotunnLib/Managers/PieceManager.cs:125) (wrapper dynamic-method) PieceTable.DMD<PieceTable::PrevCategory>(PieceTable) Player.UpdateBuildGuiInput () (at <49d9aaa0119f4006a902669e02c0ad15>:0) (wrapper dynamic-method) Player.DMD<Player::UpdatePlacement>(Player,bool,single) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<Player::UpdatePlacement>?-1231862784(Player,bool,single) PlanBuild.Blueprints.Components.ToolComponentBase.Player_UpdatePlacement (On.Player+orig_UpdatePlacement orig, Player self, System.Boolean takeInput, System.Single dt) (at <c82706d849e5493ea416a447b212f07e>:0) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook<Player::UpdatePlacement>?1021702272(Player,bool,single) (wrapper dynamic-method) Player.DMD<Player::Update>(Player)

sea212 commented 2 weeks ago

Do you still experience this issue?