Since including the breathing system into the level, sounds are being cut off whilst playing the game. Usually after a few minutes of play there are random sounds which are not playing back.
After running the in game performance check on the audio data it appears that there are now too many voices being used at any one time (limited to 32). After some reading into the UDK manual it has become clearer exactly how the sound is handled by the system. Previously it was taken for granted that if a sound was switched off then it would not take up any voices. This is why there was trigger volumes set up around the level which were designed to manage sounds within their area, either switching sounds on or off depending if the player was in the area. This however is not the case and all sounds are loaded into memory from start up and any sound triggered remains as a used voice.
Whilst reading into the documentation I found out the the voice limit of 32 can be changed up to 64 by editing the UDKEngine.ini configuration file which can be seen below. This has fixed the problem whilst playing in the editor but following up on some guidance I will be looking into the voice limiting options within UDK as a better solution.
No comments:
Post a Comment