Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-173612

Attachable animation controllers don't get reset when unloaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.30.22 Preview, 1.20.30.21 Preview, 1.20.30.20 Preview, 1.20.20.23 Preview, 1.20.20.22 Preview, 1.20.12 Hotfix, 1.20.13 Hotfix, 1.20.14 Hotfix, 1.20.30.25 Preview, 1.20.30.24 Preview, 1.20.15 Hotfix
    • None
    • Confirmed
    • Multiple
    • 1099196

      Attachables that are unloaded will save their controller states when reloaded instead of using their default states.

      Steps to Reproduce:

      1. Import the test resource pack;
      2. Equip a shield in both hands (Both shields: default > first_person);
      3. Have any other attachable items (bow, crossbow, trident, spyglass) readily available;
      4. Activate the shield by crouching (Main shield: first_person > blocking_main_hand);
      5. While still blocking, switch your held item to another attachable (Main shield: blocking_main_hand > default):
        Your offhand shield is automatically lifted in its place (Second shield: first_person > blocking_off_hand);
      6. Switch back to the shield;
        Your offhand shield remains lifted and the main shield stays in its default state;
      7. Stop blocking (Main shield: default > first_person, Second shield: blocking_off_hand > default > first_person);
      8. Repeat the process but switching to any other non attachable item or an empty hand instead.

      Observed Results:
      The main shield comes back already lifted, as that was the state the right arm attachable was unloaded with.

      Expected Results:
      The main shield comes back in its default state after being unloaded.

      Screenshots/Videos attached: Yes

      Notes: The pack modifies the shield's animation controller to make them prioritize the main hand when both hands are holding a shield, automatically change to the offhand when the main hand's shield is disabled or removed, and keep the offhand shield lifted until it is either disabled or removed.

        1. Shields.mp4
          2.23 MB
          [Mod] LateLag
        2. MCPE-173612.mcpack
          1.0 kB
          [Mod] LateLag

            LateLag [Mod] LateLag
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: