ManlyMarco/ABMX

[HS2] 5.0 - Hair bone modification failes to load when switching between characters with different head part and some other minor bugs.

BullOnMars opened this issue · 2 comments

Hair bone modifications are not loaded and missing when switching currently loaded characters to a character with a different head model. Loading any character freshly into Studio does not generate errors.

It possibly generates following error messages in the console:

[Warning:HS2ABMX (BonemodX)] Failed to find a bone ct_hairB in location Unknown - modifier will be ignored
[Warning:HS2ABMX (BonemodX)] Failed to find a bone ct_hairF in location Unknown - modifier will be ignored

Update, manage to find workaround for this bug:
The bug seems to only happen with cards saved with hair bone modifications prior to 5.0.0
If the cards are saved using ABMX 5.0.0, the hair bone modifications seem to load correctly between characters with a different head model.

Some other minor bugs I noticed:
1: Opening up ABMX interface for the first time after starting up the game for the first time seems to cause this error to occur in console:

[Error  :HS2ABMX (BonemodX)] Failed to read BoneTooltipsSystem.IO.IOException: Could not find resource with name System.Collections.Generic.List`1[System.String] inside assembly HS2ABMX, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null - make sure the name and assembly are correct
  at KKAPI.Utilities.ResourceUtils.GetEmbeddedResource (System.String resourceFileName, System.Reflection.Assembly containingAssembly) [0x000ca] in <73509f5612864c1faea21f2c8792cfba>:0
  at KKABMX.GUI.KKABMX_AdvancedGUI.Enable (KKABMX.Core.BoneController controller) [0x0006b] in <92cc266d00df449fabd50f6b534afb11>:0

2: Load a character with pushup effect from clothing and then load another character without pushup effect causes the pushup effect from previous character to persist. You have to load the character twice to eliminate the pushup effect.

3: Sometimes hair bone won't show up in the list when searching for it.
Steps to reproduce:
Load a character, preferably just use the default character auto loaded by the game in maker, search hair bones by typing hair in the ABMX interface search box, bones are found.
Load the character again, search hair bones by typing hair in the ABMX interface search box, bones no longer show up.