mojira.dev
MC-225777

Screenshots cause game to freeze since Java 16

When taking a screenshot, it is possible the game will lag a little bit; however, since 21w19a, my game completely freezes for 1-2 seconds. Doesn't happen twice in a row, which happens with a lot of these game-freeze bugs.

Seems like the game is trying to get access to the place it wants to place the screenshot in, which causes the lag spike.

Comments 4

Can confirm in 1.17.

We do not have enough information to find the cause of this issue.

While the lag occurs, please press F3 + L once, then wait a short moment or press F3 + L again in order to create a rendering debug profile.
Afterwards, please attach the generated .zip file containing the profile results here. The file path is shown in chat; the file can be found in [minecraft/debug/profiling/<DATE>.zip|https://minecrafthopper.net/help/finding-minecraft-data-folder/].

This issue is being temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

The game doesn't respond so it doesn't realize I am trying to press F3+L.

Could you please try pressing F3 + L and then pressing F2?

Brevort

(Unassigned)

Unconfirmed

(Unassigned)

21w19a, 1.17

Retrieved