Game Development Community

SFXDevice is null when adding sound group

by Shawn Simas · in Torque X Platformer Kit · 10/15/2007 (2:04 am) · 0 replies

I was following the documentation included with the starter kit to utilize the sound manager.

I threw the RegisterSoundBank code in the BeginRun() much like the platformer demo, yet, when it calls the SoundGroup() constructor TorqueEngineComponent.Instance.SFXDevice is showing up null, and exiting.

This works fine in the demo. Did you leave out a step in the documentation to initialize sound for the engine?

Thanks,
Shawn