mojira.dev
MCPE-240423

Critical Server Tick Freeze when pasting ~6000-7000 characters into CustomForm TextInput.

Description:
When using the @minecraft/server-ui module, pasting large strings into a TextInput component causes the Bedrock engine's Server Tick to freeze completely, halting all game logic.

Through testing, we found a specific "freeze threshold":

  • < 4500 characters: Form submits and parses normally.

  • ~6000 - 7500 characters: The engine completely freezes upon submission. This is a Server-Side freeze: mobs stop moving, items float in the air, broken blocks do not drop, and game time halts. The main thread hangs before the Promise can resolve in the Script API, meaning it cannot be caught with a try/catch block. The engine drops the packet immediately, throwing a PlayerLeftError (Form rejected because the player left) in the script console, but the game does not freeze.
    [Scripting][warning]-[BP] Form error: 'minecraft:custom_form' was rejected because the player left.

The critical issue lies in the ~6000-7500 character range, where the server attempts to parse the string but gets stuck in an infinite loop or memory lock, effectively killing the server thread.

Linked issues

Comments 0

No comments.

Volodya

(Unassigned)

Unconfirmed

Windows

10

26.32

Retrieved