mojira.dev
MCPE-128485

Game freezes and sometimes crashes when typing "/"

Every time you type "/" in chat for the first time after reopening a world, the game freezes for a moment

Steps to Reproduce:

  1. Create/open a world.

  2. Open the chat. 

  3. Type "/". 

Observed Results:
The game freezes (fps drop). 

Expected Results:
Game don't freezes. 

Related issues

MCPE-137982 When typing slash for the first time in your world, it freezes and crashes MCPE-143769 World freezes when typing / for the first time in a world MCPE-147356 Whole game freezes when typing / for the first time on that gameplay MCPE-148449 Using /give and /enchant commands causes lag spikes MCPE-150758 lag on /command time set, wheater, and others when first world creation, MCPE-150762 Lag in /command if pressing any button for example /time set /wheater clear will make the game freeze for a while or lag When the world was first made MCPE-153175 Typing delays at first MCPE-155155 Game freezing when typing in chat MCPE-156262 Opening chat freezes and crashes minecraft (MCPE) MCPE-156876 Chat and command block input freezes or crashes the game MCPE-156914 Game loads slow on iOS MCPE-158053 When using any type of command, the game crashes! MCPE-160427 Game Crashes When Pressing the / key MCPE-165622 When typing / in the chat the game freeze for a while MCPE-170400 Slowness when writing commands in chat MCPE-173058 When I write a command the game crash MCPE-173542 game crashes when i type / on a server MCPE-179554 Minecraft Crashes when open chat while using slash in the server

Attachments

Comments

migrated
[media]
kiizde

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response

Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).

Also, just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

migrated

Affects 1.17.10.20

migrated

i have this same bug but it is on ios 14 the version i play minecraft on is 1.17.10

migrated

The bug still around in 1.17.41 hope it get fixed

 

migrated

Maybe it’s freezing because it’s trying to load all the commands.

GoldenHelmet

I think it's pretty clear that the freeze is because when you first type "/" or press one of the preset command buttons it caches every possible command in the game in order to show suggestions. It is much more noticeable for me on iOS than PC. A smarter behavior would be to load suggestions only if you type a letter after the "/".

migrated

But in 1.19 its gotten worse, even waiting takes a long time, please see if you can solve this issue.

 

migrated

"the freeze is because when you first type "/" or press one of the preset command buttons it caches every possible command in the game"

Something like this should be effectively instantaneous on any modern device, the list of commands is not that long and rendering text is not that expensive

a better solution IMHO would be to warm the cache at game launch time

migrated

The issue is also noticeable on multiplayer on some server. And I'm on Windows 10.

The suggested solution of caching every command at game launch is not possible due to multiplayer that can have additional commands. So the command caching should happen on world load for single player, and on multiplayer every time the server sends the command list to the client. Of course, that loading / caching should be asynchronous, to avoid the game freezing. If the player starts typing "/" in the chat when the cache is still loading, the interface should not freeze either, letting the user typing the command without suggestion.

migrated

This wasn't a problem up until now. it's pretty odd for many of capable devices having this issue.

migrated

I have noticed this issue but the game does not crash

COL9gamer

Affects 1.19.22 and 1.19.40.20

migrated

Even though I have an iPhone 14 with the latest iOS version at the moment (iOS 16.2) storage not even 30% full and Minecraft 1.19.51 this bug is still present

migrated

 This used to freeze my game for around 30 -40 seconds, but now it freezes for 15 seconds and crashes. It seems to get worse in the newer versions of the game. 

migrated

Affects 1.20.10 hotfix

migrated

Affects 1.20.12 hotfix and 1.20.20.22 preview

EveryCabbage884

Resolving temporarily as Awaiting Response. To anyone who can still reproduce this issue in the latest version of the game (1.20.12), what device are you using (model, OS version, etc.)? Additionally, have you enabled any experimental toggles and does the issue occur in newly created worlds?
This ticket will reopen automatically when you reply.

migrated

Affects 1.20.20.23 preview. i play in a android device, and no, i don´t use any experimental toggle

 

migrated

Affects 1.20.30.22 preview and 1.20.15 hotfix

migrated

Affects 1.20.40.20 preview

migrated

(Unassigned)

541891

Confirmed

Multiple

8.0

1.20.20.20 Preview, 1.20.10.24 Preview, 1.20.10.21 Preview, 1.20.0.20 Preview, 1.19.60.24 Preview, ..., 1.20.12 Hotfix, 1.20.70, 1.20.71 Hotfix, 1.20.80.22 Preview, 1.21.1 Hotfix

Retrieved