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

Selectors can't find the player while logging into game and running an animation controller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.19.10.20 Preview, 1.17.20.22 Beta, 1.17.10, 1.17.10.22 Beta, 1.17.10.21 Beta, 1.17.10.20 Beta, 1.16.221 Hotfix, 1.18.31
    • None
    • Confirmed
    • Windows
    • 550629

      The bug

      When the player logs into the game, animation controllers start running. If any has a command in the default state, the commands run correctly but cannot find the player. This is a weird contradiction because the player clearly exists enough to run its animations, but selectors can't find it. This can break all kinds of stuff.

      How to reproduce

      1. Download and open the attached world
      2. Open chat

      Expected result

      [yourname] at-s: yourname
      [yourname] at-a: yourname 

      Actual result

      [yourname] at-s: 
      [yourname] at-a:  

      Notes

      For reference, here is the animation controller used:

      {
         "format_version": "1.10.0",
         "animation_controllers": {
            "controller.animation.init": {
               "states": {
                  "default": {
                     "on_entry": [
                        "/say at-s: @s",
                        "/say at-a: @a"
                     ]
                  }
               }
            }
         }
      }
      

            tryashtar [Mod] tryashtar
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: