Closed Makao1240 closed 6 months ago
@takahiro0327
Looks like it's caused by destroyed objects inside the dictionary https://github.com/IllusionMods/IllusionFixes/blob/884ea0716b39dc3628bf0ae5c5607dfab458db45/src/Core_Fix_StudioOptimizations/FindLoopAssistant.cs#L70-L72
Thanks for the report and mentions.
It should be fixed in the following, so give it a try. At my place, no matter how many changes I make to the character, I don't get any exceptions. I don't know why...
C:\illusion\KoikatsuSunshine\BepInEx\plugins\IllusionFixes\KKS_Fix_StudioOptimizations.dll KKS_Fix_StudioOptimizations.zip
C:\illusion\Koikatu\BepInEx\plugins\IllusionFixes\KK_Fix_StudioOptimizations.dll KK_Fix_StudioOptimizations.zip
Worked fine! Thanks for the nice fix!
In Studio, characters may not load properly when they are replaced. This problem occurs when the character's hairstyle is different before and after the replacement. I lowered the version of [KK_Fix_StudioOptimizations] from 21.4.1 to 21.4 due to the following error and the problem did not occur.
If we can identify any other situations where the problem occurs, we will let you know additionally.
(DeepL: JPN→ENG)