android game crash because of audio

Discussion and feedback on Construct 2

Post » Tue Jul 26, 2016 9:59 am

hi
i have a game wich when user win or lose the game timescale change to 0.0001
then a win or loos music (in music folder) start playing
but after a 4 - 5 time wich user win or lose, the game start crashing and get force closed
i disable the music group (wich start playing win or loos music) then game runs fine !
i use cocoon canvas+ for this but since this is an audio problem i think this is a construct 2 problem here
so why is that ? how can i fix this ?
B
16
S
6
Posts: 243
Reputation: 1,755

Post » Tue Jul 26, 2016 10:22 am

Yes, i have same problem i think it's a bug. However i solved it by disable sound preload. Try it, let me know if it works.
B
36
S
13
G
1
Posts: 88
Reputation: 3,101

Post » Tue Jul 26, 2016 10:37 am

nikosurfing wrote:Yes, i have same problem i think it's a bug. However i solved it by disable sound preload. Try it, let me know if it works.

no it doesn't help because my problem is musics and not sounds
i think musics load in memory and doesn't release and then when start playing same music again its load a new one in memory !
B
16
S
6
Posts: 243
Reputation: 1,755

Post » Tue Sep 27, 2016 2:27 pm

@mahdi71 Have you solved this problem? How?

What's your phone OS version? Which phone are you using?
B
7
S
1
Posts: 16
Reputation: 469

Post » Wed Sep 28, 2016 5:56 pm

rodrigograca31 wrote:@mahdi71 Have you solved this problem? How?

What's your phone OS version? Which phone are you using?

nop my game still crash so thanks for that scirra :(
B
16
S
6
Posts: 243
Reputation: 1,755

Post » Fri Oct 14, 2016 5:11 pm

@mahdi71

What's your phone OS version? Which phone are you using?

Mine is:

Android 4.4.4 - CyanogenMod
ARM
OnePlus One
B
7
S
1
Posts: 16
Reputation: 469

Post » Mon Jan 16, 2017 1:35 pm

Same problem here.....
B
37
S
9
G
8
Posts: 541
Reputation: 8,554


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 23 guests