I have been chasing this for about 3 days and have tried everything and can't get looping music to work on either linux or windows.
Whenever I call a music file with a loop: -1 it will not loop.
Why am I so dense-headed? This has to be something obvious.
I have tried changing the music bus from solo to simultaneous and tried several different sound_player parameters. According to the GMC logs, the parameters are passing in, it is just not looping for me.
I am not using declared MPFsound_assets, but just calling the sound files from the sound_player and passing in the parameters. Like I said, they play, they just won't loop.
Here is my sound player config:
base_mode_baseMusic_PlayMusic3:
main_
Music3 :
action: play
loops: -1
bus: music
And after the event is thrown, here are the logs in GMC that show that the parameters make it into GMC:
18:01:45.584 : INFO : Bus<music> : Playing sound 'res://sounds/music/main_ Music3.wav'
18:01:45.584 : DEBUG : Bus<music> : - with sound settings { "action": "play", "loops": -1, "bus": "music", "priority": 103, "fade_in": 0.1, "volume": 0.4, "block": false, "delay": <null>, "ducking": { }, "pan": <null>, "start_at": <null>, "fade_out": <null>, "about_to_finish_time": -1, "max_queue_time": -1, "events_when_played": [], "events_when_stopped": [], "events_when_looping": [], "events_when_about_to_finish": [], "key": "main_ Music3", "file": "res://sounds/music/main_ Music3.wav", "context": "_global" }
18:01:45.584 : DEBUG : Bus<music> : Channel <GMCChannel:music_2:current_stream=None> has no stream, making it the available channel
18:01:45.585 : DEBUG : Bus<music> : playing res://sounds/music/main_ Music3.wav (<AudioStreamWAV#-9223371945922263527>) on <GMCChannel:music_2:current_stream=<AudioStreamWAV#-9223371945922263527>> with settings { "action": "play", "loops": -1, "bus": "music", "priority": 103, "fade_in": 0.1, "volume": 0.4, "block": false, "delay": <null>, "ducking": { }, "pan": <null>, "start_at": <null>, "fade_out": <null>, "about_to_finish_time": -1, "max_queue_time": -1, "events_when_played": [], "events_when_stopped": [], "events_when_looping": [], "events_when_about_to_finish": [], "key": "main_ Music3", "file": "res://sounds/music/main_ Music3.wav", "context": "_global" }
18:01:45.630 : DEBUG : Bus<music> : Fade in to 0.00 complete on channel
<GMCChannel:music_2:current_stream=<AudioStreamWAV#-9223371945922263527>>.
Maybe there is another parameter I am missing that I need to set?