Maybe, you have the “.nomedia” file into the Music folder.
It happened to me too, when I wanted to hide the Music folder from the Gallery (long tap-hide folder), so the Gallery application simply created this small file (.nomedia) in the Music folder, and after a while I no longer saw all the music