Mojira Archive
MCM-694

minecraft:behavior.nearest_attackable_target doesn't update target correctly

Partner Rank:
1

Verification builds and Platforms:

1.12.0.9 and above

Regression builds:

1.11.X and earlier 1.12.0.X betas

We suspect that these changes are causing the issue: "Several other performance improvements, included some related to mob AI pathfinding (202102, 206064)"

Summary:

Targets chosen by minecraft:behavior.nearest_attackable_target do not update even if they are no longer valid. We usually chose the target based on their family/components.

Impact:

This bug affects the content pieces "Ghost Bottlers", "Catastrophic Pandamonium" and "Advanced Farming" as well as an upcoming update for "Dwarven Mining Company" and a map currently in ingestion. Since the tech is required for tutorials of all these products, the maps break pretty early leaving the customer with a bad experience and no way to progress further.

Repro Steps:

1) Download "Advanced Farming" and create the world

2) Start the map by pressing the button inside the room you are in

3) Leave the house and get near to "Clyde". This starts the tutorial

4) "Clyde" instantly gets stuck at the first path marker instead of selecting the next valid entity

Observed Results:

Clyde gets stuck at one entity although it's no longer a valid target

Expected Results:

Clyde smoothly follows his path

Screenshots/Videos attached: No

Fixed

solvedDev

2019-06-12, 09:36 PM

2019-06-14, 12:18 AM

2019-06-14, 12:18 AM

0

0

Future Release

-