Skip to content

Fixed a bug that caused an exception when changing clothes.#7

Open
takahiro0327 wants to merge 1 commit into
OrangeSpork:masterfrom
takahiro0327:fixed_exception_when_changing_clothes
Open

Fixed a bug that caused an exception when changing clothes.#7
takahiro0327 wants to merge 1 commit into
OrangeSpork:masterfrom
takahiro0327:fixed_exception_when_changing_clothes

Conversation

@takahiro0327
Copy link
Copy Markdown

Fixed a bug that caused an exception when performing certain operations when changing clothes in the studio.
Please merge if there is no problem.

Reproduction procedure:

  1. Launch Studio
  2. Load any character
  3. Open the Load Costume menu
  4. Click [Show Selection]
  5. Click on Switch Costumes
    スクリーンショット 2023-12-01 221709

Log:

NullReferenceException: Object reference not set to an instance of an object
  at AdvIKPlugin.AdvIKCharaController+<ScanForFlagCo>d__76.MoveNext () [0x00000] in <filename unknown>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0 

kk_output_log.txt
kks_output_log.txt

This problem occurs in both KK and KKS.
As part of the clothing change process, the character reloads. It seems that GetOCIChar() does not work correctly in the frame immediately after reloading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant