Aether-Tools / CustomizePlus

Dalamud plugin designed to give you better control over your Final Fantasy XIV character appearance.
Apache License 2.0
21 stars 10 forks source link

Entering GPose creates new armature which cannot be cleaned up and possibly leads to other issues #39

Closed RisaDev closed 1 week ago

RisaDev commented 2 weeks ago

Opening GPose with active armature sometimes results in new armature being created on identifier %CharacterName% (Any World) which bugs out when GPose is closed.

ERR | [CustomizePlus] Exception while rendering armatures:
        System.Collections.Generic.KeyNotFoundException: The given key '##### (Any World)' was not present in the dictionary.
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at CustomizePlus.GameData.Services.ObjectManager.get_Item(ActorIdentifier key) in F:\Sources\FFXIV\Aether-Tools\CustomizePlus\CustomizePlus.GameData\Services\ObjectManager.cs:line 194
       at CustomizePlus.Armatures.Services.ArmatureManager.ApplyArmatureTransforms() in F:\Sources\FFXIV\Aether-Tools\CustomizePlus\CustomizePlus\Armatures\Services\ArmatureManager.cs:line 199
       at CustomizePlus.Armatures.Services.ArmatureManager.OnRender() in F:\Sources\FFXIV\Aether-Tools\CustomizePlus\CustomizePlus\Armatures\Services\ArmatureManager.cs:line 82

image

It is possible this also results in #40

RisaDev commented 1 week ago

This armature now cleans up properly as of latest version