beyond-all-reason / beyond-all-reason/RecoilEngine
map sound fails after loading game
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 683
- Forks
- 293
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 40
Description
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().
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sounds/map_lava.lua and its gadget:Initialize(), then trace how loading xpto.ssf restores map gadgets and their sound resources. Reproduce the issue using the listed map, engine version, and quit-to-menu sequence; done means the map-specific sounds load after restoring the game without the reported Lua or sound errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, lua
- Domain
- audio-video-rtc, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100