S sorex Expert Licensed User Longtime User Jun 10, 2018 #1 Hello, As requested here's a seperate thread for the crashing in debug mode of the walking kid example. When removing everything exept the sound part it's working fine. Attached is a small mod to the original project. When you run it you'll see 2 buttons to test the explosion & coin sound. When I press the coin button before I pick up a coin there's no crash (there is some delay before it actually plays tho, after that it's instant play). When I pick up a coin without pressing the button first it crashes. Not sure what interferes here. Attachments walkingcharacter2.zip walkingcharacter2.zip 451.5 KB · Views: 373
Hello, As requested here's a seperate thread for the crashing in debug mode of the walking kid example. When removing everything exept the sound part it's working fine. Attached is a small mod to the original project. When you run it you'll see 2 buttons to test the explosion & coin sound. When I press the coin button before I pick up a coin there's no crash (there is some delay before it actually plays tho, after that it's instant play). When I pick up a coin without pressing the button first it crashes. Not sure what interferes here.
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2018 #2 Works fine here. As a workaround: Code: Public Sub PlayCoinSound #if Release gmh.PlayAudioClip(COIN_SOUND,1) #end if End Sub Upvote 0
Works fine here. As a workaround: Code: Public Sub PlayCoinSound #if Release gmh.PlayAudioClip(COIN_SOUND,1) #end if End Sub