Crash to Desktop while playing Music

For questions about using Classic.

Post » Mon Feb 20, 2012 7:36 pm

No matter XAudio2, MOD, or Audiere plugin, if I load music (Wav, IT, MOD, MP3, OGG, I've tried them all) when you change layouts, the game crashes to desktop.

I've tried stopping music before layout change. I've tried pausing music before layout change. I've tried loading music in as a resource in the Resource section. The music plays in the game, just as soon as you change layouts (even with Audiere or XAudio2 set as global) the game crashes to desktop.

Any ideas?

The only thing I notice is that I have Combined Community Codec Pack installed to watch anime and when MP3s play, FFa pops up.
B
6
S
1
Posts: 21
Reputation: 617

Post » Mon Feb 20, 2012 8:20 pm

Seems like it's a problem with the Math plugin. I ran the debugger and it intercepted an error:

"A crash inside a plugin's non-event code has been intercepted! This may be a bug in the plugin, or a problem in Construct. The application has exited. Available details of the location of the problem are below (this may be approximate).

Plugin: math.csx
Object Name: Math
Instance: 1 (of 1)"

After removing the Math object from the layout, it stopped crashing while having music playing. Sadness? I want Math.
B
6
S
1
Posts: 21
Reputation: 617

Post » Mon Feb 20, 2012 8:35 pm

There are two types of objects, layout, and non-layout.
Does that one give you a box to move around in the layout, or does it just add it to the object bar?
Image Image
B
161
S
48
G
89
Posts: 7,345
Reputation: 66,245

Post » Mon Feb 20, 2012 9:17 pm

tewn fixed me up! I had the Math Plugin set as "Global" when I wasn't supposed to. Unchecking global allowed music to play and still change layouts.

Tho it's strange that you could still leave Math on "global" and change layouts so long as you didn't have any music.
B
6
S
1
Posts: 21
Reputation: 617


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests