Mojira Archive
MC-96131

/execute detect command causing entities within a chunk to be scoreboard reset

EDIT: Was unable to find specific cause for the problem, will post crash report

Teleport away from spawn chunks before doing any of the below.

Summon armorstand using below command:
/summon ArmorStand ~ ~ ~

{CustomName:"tank"}

Create testing objective
/scoreboard objectives add testObjective dummy
Set objective to sidebar:
/scoreboard objectives setdisplay sidebar testObjective
Set 'tank' score:
/scoreboard players set @e[name=tank] testObjective 1

Afterwards, unload chunks by teleporting away.
tp @p ~500 ~ ~

Notice that the score on the sidebar dissapears, proving that the score resets after the entity is unloaded.


Steps to reproduce can be found in this comment


Code analysis: https://bugs.mojang.com/browse/MC-96131?focusedCommentId=306331&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-306331

Cannot Reproduce

bananenbroek4

2016-01-26, 03:23 PM

2020-02-16, 11:55 PM

2020-02-16, 08:01 PM

21

19

Community Consensus

(Unassigned)

Minecraft 16w03a - Minecraft 1.13.1Minecraft 16w03a, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.4, Minecraft 1.12.2, Minecraft 1.13.1

Minecraft 16w21a