OldUnreal / UnrealTournamentPatches

Other
978 stars 29 forks source link

[469d] Reject stereo sounds when importing them #1559

Open BerserkerBG opened 5 months ago

BerserkerBG commented 5 months ago

Stereo sounds are causing freezes and crashes in maps. Here is an example of the issue - UT starts freezing (on some clients it crashes) when I pass trough the radius of each stereo ambient sound (Cluster):

https://github.com/OldUnreal/UnrealTournamentPatches/assets/58362332/a4b27757-23a0-4618-a572-7ca8129cada8

Stereo sound used: Underwater_Ambient_01.zip

Suggestion:

Reject stereo sounds when user tries to import them in Ued. It is known that Sounds must be mono and not stereo, however, mistakes happen and sometimes the mapper overlooks it and can ship a map with stereo ambient sounds.

SeriousBuggie commented 5 months ago

Possible need make warning in the log, when try play such files, too.

SeriousBuggie commented 5 months ago

In sound browser can be displayed sound info: scr_1712442200 However for warn during play, need modify every audio render independent.