mojira.dev
MCPE-239719

When a resource pack contains subpacks, sounds that are not located within a subpack and have "stream" set to true will not play correctly

When a resource pack contains subpacks, if the non-subpack portion attempts to load audio defined with stream: true in sound_definitions.json, it appears that the audio fails to play.

How I noticed the bug:

After updating the game to version 26.30, I noticed that all the custom discs in my resource packs had no sound in the game.

How to reproduce:

1.Download the resource pack I provided. (The Bounce music disc has been replaced with the audio from Lava Chicken.)

Below is the file structure of the resource package I provided:

pack_v1.0.1.mcpack
├─ sounds/
│  ├─ sound_definitions.json
│  └─ music/game/records/bounce.ogg
│
├─ subpacks/
│  ├─ subpack0/
│  │  ├─ sounds/sound_definitions.json
│  │  └─ textures/blocks/dirt.png
│  │
│  ├─ subpack1/
│  │  └─ textures/blocks/dirt.png
│  │
│  └─ subpack2/
│     ├─ sounds/music/game/records/bounce.ogg
│     └─ textures/blocks/dirt.png
│
├─ manifest.json
└─ pack_icon.png
  1. Set the subpack to "subpack2" (the subpacks contain music), enter the world, and play the Bounce record; you should hear custom music.

  2. Set the subpack to "subpack1" (the subpacks do not contain music), enter the world, and play the Bounce record; you'll find the jukebox has no sound.

  3. Set the subpack to "subpack0" (Stream set false), enter the world, and play the "Bounce" record; you should hear custom music.(if you don't hear music, try a few more times).

  4. Open manifest.json, find the "subpacks" section, and delete the entire block.

  5. Restart the game to reload the resource pack, and play the Bounce music disc again. The audio will play correctly.

What actually happened:

When subpack1 is selected, playing the Bounce music disc produces no sound.

Expected behavior:

Regardless of which subpack you choose, playing the Bounce record will always play music.


Tested on:

  • Windows 11

  • Nintendo Switch 2 (connected to a multiplayer world hosted on Windows 11)

  • Android (connected to a multiplayer world hosted on Windows 11)

This report is similar to MCPE-174080, but the situation is different.

Linked issues

Attachments

Comments 2

[media]

I would be very grateful if the moderator could help remove the old version of the resource pack I uploaded.

This issue has been reviewed by our team.

Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.

If a fix is implemented, it will be listed in our official changelogs.

For major outages or urgent assistance, visit the Minecraft Help Center.

Bee

(Unassigned)

1640192

Community Consensus

Multiple

windows 11

26.40.26 Preview, 26.40.27 Preview, 26.30, 26.31

26.32

Retrieved