mojira.dev
MCPE-240024

/locate structure command can freeze or crash the game when searching for non generating structure

Steps to reproduce the issue:

  1. Create a new world. Ensure that you have enabled Cheats and the Drop 3 2026 Experiment.

  2. Use one of the following commands:

/locate structure minecraft:abandoned_camp_flower_forest
/locate structure minecraft:abandoned_camp_pale_garden

Expected results
The command fails after a while, as the structures cannot be found in a reasonable distance (MCPE-240045).

Actual results
The interactions of the world become abnormal (you can’t interact with blocks or mobs), chunks cannot be loaded, and pausing may cause the game to crash.

Linked issues

Comments 7

Update: Not only the flower forest camp locating causes game crash; some other biomes are also found causing crash.

pale garden camp locating also causes crash

For me, the game was just using more and more memory. /locate command needs to have search limits like Java. Once I paused, the game froze up.

Eventually, I saw the game tried and failed to locate structure gracefully, and my game was freed.

This issue has been reviewed by our team.

Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.

If a fix is implemented, it will be listed in our official changelogs.

For major outages or urgent assistance, visit the Minecraft Help Center.

Hi, to give a bit more context.

The issue is a memory leak associated with the /locate command and the 2 new camps that the OP has mentioned above.

It keeps searching for the structure (i.e; new camps) but can't and keeps trying to broaden it's search.

It does eventually stop trying to find the 2 camps the OP posted above, but at that point for me it's already used 20-30GB of RAM in a matter of seconds.

@"[Mojang] Triage Team"

Xero1

(Unassigned)

1641373

Confirmed

Windows

26.40.27 Preview

26.40

Retrieved