Mojira Archive
MCM-1301

Teleporting entity into unloaded chunks loses it's scoreboard data

Partner Rank: 1

Verification builds: 1.16.200

Summary: When teleporting an entity into unloaded chunks the scores of that entity are being wiped.

Impact: This is causing issues on our current in development map and may effect future maps.

Repro Steps:
1. Summon any entity (custom or vanilla. We tested with armor_stand, pigs, villagers, and a few of our custom entities)

  • `/summon armor_stand ~ ~ ~`

2. Set a score on that entity (value and name does not matter)

  • `/scoreboard objectives add value dummy`
  • `/scoreboard players set @e[type=armor_stand] value 42`

3. Teleport the entity into an unloaded chunk.

  • `/tp @e[type=armor_stand] 10000 100 10000`

Observed Results: The entity's score is being reset. There is no way to get it back once teleported.

  • How to check that the score is gone
    • Using the sidebar:
      `/scoreboard objectives set display sidebar value` // display the value
      This should show the entity's score on the side of the screen before teleporting, but after teleporting it will vanish.
    • Using scoreboard players list:
      "/tp @s 10000 100 10000" // teleport to the entity
      "/scoreboard players list @e[type=armor_stand]" // request it's score

Expected Results: The entity should still have it's score after being teleported

Screenshots/Videos attached: Yes
https://youtu.be/0x4GmrklDU8

Unresolved

[Noxcrew] Stuart Anderson

2021-02-10, 07:40 PM

2021-02-12, 12:43 AM

1

1

Future Release

-