Skip to content

map sound fails after loading game #2915

@springraaar

Description

@springraaar

game : metal factions v2.58
map : scorched crossing v2.5
engine : 2025.06.20

to reproduce, start a battle on the map, then do /quitmenu > quit to menu > load game and load the xpto.ssf (in attachment)

you'll get lua errors related to map-specific sounds that you didn't get when starting a new battle on the map

[t=00:01:28.223951][f=0003600] [Sound] Error: [LoadSoundBuffer] unable to open audio file "lavaambient1"
[t=00:01:28.223996][f=0003600] [Sound] Error: [Sound::GetSoundId] could not find sound "lavaambient1"
[t=00:01:28.224012][f=0003600] [Sound] Error: [Sound::GetSoundId] could not find sound "lavaambient1"
[t=00:01:28.224025][f=0003600] [Sound] Error: [Sound::GetSoundId] could not find sound "lavaambient1"

the sounds are played through a map gadget that loads them from sounds/map_lava.lua on gadget:Initialize().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions