Sometimes, usually when i exit the app without exiting my world, the music disappears when i open the app again. For some reason, the music can be prompted again by diving into water, which activates the underwater music. After that, music will continue to play again normally. Also, this only affects in-game music, the menu music is always fine. I have checked my files and vanilla_music is indeed in my resource packs folder.
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-101027, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki