Mojira Archive
MCPE-129774

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

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

Fixed

[Mod] tryashtar

2021-06-04, 12:44 AM

2023-09-26, 01:41 AM

2023-09-26, 01:41 AM

4

1

Confirmed

550629

1.19.10.20 Preview - 1.18.311.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

-