Skip to content

Error while running static void KK_Plugins.ClothesToAccessoriesPlugin #360

@Irestill

Description

@Irestill

The plugin ClothesToAccessories or AccessoriesClothes appear to stall out and propagate a large amount of errors to the log in console, creating some lag and a bloated console log, generally of the error type below. Studio will begin to lag if the character wearing the outfit containing an accessory using one of the types described below after a few minutes.

The outfit itself does not appear to have any issues, but applying common fixes such as reinstalling HF Patch do not fix the error.

[Error : HarmonyX] Error while running static void KK_Plugins.ClothesToAccessoriesPlugin::UpdateVisibleAccessoryClothes(ChaControl instance). Error: System.Exception: tried running ApplyMasksToChaControl on type cpo_jacket_a
at KK_Plugins.ClothesToAccessoriesAdapter.ApplyMasksToChaControl () [0x00025] in <34c4c91566244a57bbf9188921bacd89>:0
at KK_Plugins.ClothesToAccessoriesPlugin.UpdateVisibleAccessoryClothes (ChaControl instance) [0x00a83] in <34c4c91566244a57bbf9188921bacd89>:0

On closer inspection, the error appears to only occur when outfits of the following six types (Jacket A, highlighted in the above example, but also Jacket B, Jacket C, Sailors A/B/C) are used as accessory clothes. Other outfit items such as shoes or tops do not appear to have this problem.

Searching for the line below in the community discord will also yield several examples that has been reported but does not seem to have been resolved.

Error while running static void KK_Plugins.ClothesToAccessoriesPlugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions