ManlyMarco / Illusion-Overlay-Mods

Adds overlay texture (tattoo) support to games by Illusion
https://www.patreon.com/ManlyMarco/posts?tag=ksox
GNU Lesser General Public License v3.0
106 stars 32 forks source link

Breast size regression bug in 6.1.3 #27

Closed Timo713 closed 5 months ago

Timo713 commented 5 months ago

There is a strange, very specific bug introduced in the latest 6.1.3 version when replacing characters in studio, the conditions are the following:

In studio, characters in slots that are replaced for the first time after loading a scene and DON'T have any body overlays/underlays will not have their breast size values updated on the first load, you need to load them twice to load them correctly.

This only happens once per scene loading session on characters that were already on the scene when it was loaded and not those who get replaced after importing a new character to the scene during that same session.

To replicate this bug, you need to add a character without any body overlays/underlays to the scene first, save the scene, load it, and replace the character with another one with a different breast size that also doesn't have any body overlays/underlays on it.

ManlyMarco commented 5 months ago

Are you sure this is something new to specifically 6.1.3, have you tested 6.1.2? If both characters don't have any overlays then the overlay plugin should do nothing. If it is a new issue in the latest release then I would guess it has to be somehow caused by #26.

Timo713 commented 5 months ago

Yes, I'm using 6.1.2 for now and all characters load fine.

ManlyMarco commented 5 months ago

@takahiro0327 Can you give this a look?

takahiro0327 commented 5 months ago

@Timo713 Try this DLL. It should fix it. It's amazing how you were able to identify Overlay as the cause. How did you do it?

HS2_OverlayMods.zip KK_OverlayMods.zip KKS_OverlayMods.zip AI_OverlayMods.zip EC_OverlayMods.zip

Timo713 commented 5 months ago

@takahiro0327 Yup, it seems to be fixed now. As for how I identified the cause, well, just trial and error. I kept disabling chunks of plugins and tested until the bug disappeared and then narrowed the search until this plugin was left, lol.

ManlyMarco commented 5 months ago

@Timo713 https://github.com/ManlyMarco/Illusion-Overlay-Mods/releases/tag/v6.1.4 Although it's probably identical to the builds above.