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

Some ogg files in resource packs are not played

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.21, 1.21.1, 24w34a
    • None
    • Ubuntu 20.04 x64. Bundled Java runtime.
    • Community Consensus
    • Resource Packs, Sound
    • Important
    • Platform

      Some OGG files used in resource packs that previously worked fine, now now longer play. The is no audible sound played and no messages printed to client log. Additionally, in the F3 debug screen, the "Sounds" counter (x/247) increments and never decrements, suggesting some kind of leak. It can be reset with F3+T.

      Attached is a sample resource pack that demonstrates this issue. It includes two sounds in namespace "tmaannouncer": "chat.goodgame" and "game.bombdetonated".

      The first one (chat.goodgame) works fine, but the second (game.bombdetonated) does not work on recent versions. Of the versions I have tested:

      • Plays correctly on 1.20.4, 24w05a, 24w11a, 24w13a, 24w14potato, 24w14a
      • Does not work on 1.20.5 Pre release 1, 1.20.5 Pre release 2, 1.21

      (Apologies, I could not seem to list these properly in the Affected Version/s field)

      To replicate:

      1. Start any listed game version (or in between).
      2. Load the resource pack.
      3. Load a world with command permissions.
      4. Use the command "/playsound tmaannouncer:game.bombdetonated master @a"
      5. Observe the audio (or lack of), and the "Sounds" counter in the F3 debug screen.
      6. Repeat with an un/affected version for comparison.

      There is a related issue: MC-259517
      However, unlike this issue, the affected sound here is not corrupted (at least not in a manner that it can't be played in other applications). Additionally, the sound works fine on previous versions.

       

        1. 1.21.mp4
          1.67 MB
        2. 24w14a (unaffected version).mp4
          1.91 MB
        3. samplepack.zip
          57 kB

            Unassigned Unassigned
            toomuchzelda toomuchzelda
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: