Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-277670

No error is printed to the log when defining an invalid glyph texture for a character

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.2 Release Candidate 1
    • None
    • Community Consensus
    • Debug, Resource Packs, Text

      Discovered while testing MC-276813.

      Relates to: MC-236295 MC-263121 MC-276750 MC-276751 MC-276813 MC-276828

      The bug

      If a resource pack defines a texture for a unicode character, and that texture cannot be loaded, the hollow rectangle placeholder texture will be used instead. However, unlike for cases where a texture isn't defined, there will be no error in the log.

      How to reproduce

      A resource pack which gives the lowercase "a" a 512x9 texture is attached.

      1. Download and apply the attached resource pack
      2. Watch the log for errors
      3. Optionally, compare with a character not defined in the font: 

      Expected results

      There would be an error indicating that the game couldn't find a valid glyph for this character.

      Actual results

      No error is produced at all.

        1. 2024-10-18_07.24.45.png
          266 kB
          Connor Steppie
        2. 2024-10-18_07.27.34.png
          306 kB
          Connor Steppie
        3. screenshot-1.png
          158 kB
          Connor Steppie

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: