mojira.dev
MC-312579

The game crashes when opening the inventory while a `below_name` scoreboard objective is active

Steps to reproduce

  1. Open a single-player world in Creative mode with commands enabled in Minecraft: Java Edition 26.4 Snapshot 4.

  2. Run the following commands, replacing playername with your own player name:
    /scoreboard objectives add inv_crash_test dummy
    /scoreboard players set playername inv_crash_test 1
    /scoreboard objectives setdisplay below_name inv_crash_test

  3. Press E to open the Creative inventory.

  4. Select the Survival Inventory tab.

Expected result
The Survival Inventory tab opens normally.

Actual result
The game crashes with the following exception:
java.lang.IllegalStateException: Render pipeline minecraft:pipeline/text_see_through doesn't want a depth texture but one was provided

The same steps also reproduce the crash on a vanilla multiplayer server. Opening the inventory in Survival mode also causes a crash. Clearing the below_name display slot with /scoreboard objectives setdisplay below_name stops the crash on the originally affected server.

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media]

The description is currently displaying a placeholder after submission, so here are the reproduction steps:

  1. Open a single-player Creative world with commands enabled in 26.4 Snapshot 4.

  2. Run these commands (replace yuyu107 with your player name):
    /scoreboard objectives add inv_crash_test dummy
    /scoreboard players set yuyu107 inv_crash_test 1
    /scoreboard objectives setdisplay below_name inv_crash_test

  3. Press E and select the Survival Inventory tab.

Expected: The tab opens normally.
Actual: The game crashes with:
java.lang.IllegalStateException: Render pipeline minecraft:pipeline/text_see_through doesn't want a depth texture but one was provided

Also reproduced on a vanilla multiplayer server. Opening the inventory in Survival mode also crashes. On the originally affected server, /scoreboard objectives setdisplay below_name stops the crash. The attached crash report is from the single-player reproduction.

yuyu

(Unassigned)

Confirmed

Platform G

Very Important

Rendering

26.4 Snapshot 4

Retrieved