ManlyMarco/ABMX

[KKS] NullReferenceException occured when opening ABMX window of Outfit slot after editing skirt scale

k7a opened this issue · 2 comments

k7a commented

Issue

image

Error log:

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
KKABMX.GUI.KKABMX_AdvancedGUI.DrawSingleModifier (KKABMX.Core.BoneModifier mod) (at <4b0e0b4c45a24d1689c29fe4fc4031f3>:0)
KKABMX.GUI.KKABMX_AdvancedGUI.DrawWindowContents (System.Int32 id) (at <4b0e0b4c45a24d1689c29fe4fc4031f3>:0)
UnityEngine.GUILayout+LayoutedWindow.DoWindow (System.Int32 windowID) (at <a0bccd5fb00b424ba4b8f758e660f824>:0)
UnityEngine.GUI.CallWindowDelegate (UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System.Int32 forceRect, System.Single width, System.Single height, UnityEngine.GUIStyle style) (at <a0bccd5fb00b424ba4b8f758e660f824>:0)

[Error  : Unity Log] GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.

How to reproduce

  1. Edit skirt scale
  2. Add outfit slot
  3. Change coodinate to added outfit slot
  4. Open ABMX window

Environment

BepInEx v5.4.16
KKSAPI v1.26
KKSABMX v4.4.4
KKS_MoreOutfits v1.1
KKS_ExtensibleSaveFormat v16.8.1

Can you try this build? KKSABMX_4.4.4.0.zip

k7a commented

@ManlyMarco
I've confirmed that it's fixed, thanks!