Sound Goes Bye-Bye upon Build?
by Christopher Franklin · in Torque Game Builder · 06/05/2006 (5:40 pm) · 1 replies
Hello!
I'm familiarizing myself with the release candidate by making a really simple music game. When I play the game from the level editor, everything functions perfectly fine. When I build the project and try and run it on its own, the game is functional but the sound has disappeared! Any ideas as to what could be the cause?
I'm familiarizing myself with the release candidate by making a really simple music game. When I play the game from the level editor, everything functions perfectly fine. When I build the project and try and run it on its own, the game is functional but the sound has disappeared! Any ideas as to what could be the cause?
Torque Owner Christopher Franklin
I manually added in the AudioDescription and AudioProfiles, and for some reason when I run it in the editor it rewrites the datablocks.cs file to use some seemingly arbitrary number for the profile instead of the ones I had assigned. So it was working in the level editor but not on its own.
The second I went into the datablocks.cs and manually changed it back, it worked.
Which is awesome, but sort of annoying given how streamlined the rest of hte process has gotten.