mojira.dev
MC-304336

If the game cannot load textures, atlases can sometimes fill up with garbage data

Atlases can sometimes contain unrelated and unuseful graphical data if the intended graphics cannot be loaded.

How to reproduce

A resource pack is attached to this ticket that replaces the sun, end flash, and all 8 moon textures with invalid png files containing no data, and redirects the missing texture to a blank 1x1 png using an atlas file.

  • Download and apply the attached resource pack

  • Give yourself this item and equip it: /give @s ice[equippable={slot:"head",camera_overlay:"atlas/celestials"}]

  • Close the game and relaunch it

  • Enter your world

  • If nothing looks off, reload resource packs: F3+T

  • Optionally use F3+S to dump texture atlases, and look for the celestials.png file

Expected results

Some sort of error handling measure, such as displaying the missing texture, or rejecting the resource pack as invalid somehow.

Actual results

These.

Attachments

Comments 0

No comments.

muzikbike

(Unassigned)

Confirmed

Platform

Low

Resource Packs

25w46a

Retrieved