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

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Platform:
      Windows
    • ADO:
      550629

      Description

      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"
                     ]
                  }
               }
            }
         }
      }
      

        Attachments

          Activity

            People

            Reporter:
            tryashtar [Mod] tryashtar
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: