‘Apex Legends’ developer reveals “single line of code” to blame for audio bug

Respawn Entertainment has revealed that a “single line of code” has been responsible for a months-long audio issue in Apex Legends, though it has since been fixed.

As detailed on Reddit (via PC Gamer), Respawn community manager Amy Thiessen explained that, since February, the developer has noticed certain sound effects — such as grenade explosions, or gunshots — were not being played.

Respawn theorised that the bug was linked to the fact that only 128 effects can be run per server frame, and a malfunctioning effect was using up all of those spaces — therefore pushing out the sound effects players were missing.

However, Thiessen admitted that trying to find the cause “meant finding a needle in a haystack”, as “thousands of changes” were made with every season update.

Apex Legends
Apex Legends. Credit: Respawn Entertainment

Respawn’s metrics system was also failing to spot any issues, which left the studio with “minimal leads internally” despite recognising that the issue was affecting players.

Eventually, Respawn was able to confirm effects were being cut off by creating “unrealistic test cases,” such as 50 characters firing their weapon at the same time. Following even more tests, the studio found that “a single line of code was identified to be the root cause of the issue”.

The culprit was the Nemesis, a weapon that was added to Apex Legends in February. According to Thiessen, the weapon has a line of code that halts the gun’s particle effects while the weapon is uncharged — but due to a bug, every player carrying a Nemesis was creating a “stop particle” effect every frame.

After identifying the issue, Respawn was able to issue a fix last week. However, the anecdote serves as a reminder that making games is far harder than it sounds — as Thiessen pointed out, “a minute of players playing Apex is the equivalent of 10 testers playing the game for a year!”

In other gaming news, Call Of Duty: Modern Warfare 2 and Warzone 2.0 are getting a major update next week (May 10).

Stay connected with us on social media platform for instant update click here to join our  Twitter, & Facebook

We are now on Telegram. Click here to join our channel (@TechiUpdate) and stay updated with the latest Technology headlines.

For all the latest Gaming News Click Here 

 For the latest news and updates, follow us on Google News

Read original article here

Denial of responsibility! TechiLive.in is an automatic aggregator around the global media. All the content are available free on Internet. We have just arranged it in one platform for educational purpose only. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials on our website, please contact us by email – [email protected]. The content will be deleted within 24 hours.