mojira.dev
MC-299779

Screenshots taken with F2 are completely black

The bug

Starting with version 1.21.6, pressing F2 to take a screenshot results in a completely black image being saved in the screenshots folder. In any world, it results in a black PNG.

Screenshots taken the exact same way in version 1.21.5 work perfectly and show the game content as expected. This makes it likely that the issue was introduced in or after version 1.21.6.

The issue occurs in the vanilla game with no mods, shaders, or resource packs, both in fullscreen and windowed mode, and when using the official launcher with bundled Java.

Additional notes

The issue only occurs when using F2 for screenshots. External screenshot tools like Snipping Tool, ShareX, or Win+Shift+S work correctly.

This appears to be a regression in Minecraft's internal framebuffer capture.

Environment

Windows 11 Pro 64-bit (Build 22631)
CPU: Intel Core i7-3610QM @ 2.30 GHz (4 cores / 8 threads)
RAM: 16 GB
GPU: Intel HD Graphics 4000 (Driver 10.18.10.5161, dated 06.08.2020)
Secondary GPU: NVIDIA GeForce GT 650M (Driver 21.21.13.6909)
DirectX: 12
Launcher: Official Minecraft Launcher
Java: Bundled Java (Java 21.x)
Display: 1920x1080 @ 60 Hz (no HDR)

Linked issues

Attachments

Comments 2

Please do not mark an issue as Private, unless it contains sensitive information or you are reporting an exploit.

Thank you for your report!
We are tracking this issue in MC-296773, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote or provide any additional information to the main ticket, it would be appreciated.

If you haven’t already, please make use of the search feature to see whether an issue has already been reported.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

It was my first time reporting a bug so thank you for helping me out and providing tips.

henryhart4

(Unassigned)

Unconfirmed

(Unassigned)

1.21.7, 1.21.8 Release Candidate 1

Retrieved