News

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

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

/* custom css */
.tdi_89{
vertical-align: baseline;
}.tdi_89 > .wpb_wrapper,
.tdi_89 > .wpb_wrapper > .tdc-elements{
display: block;
}.tdi_89 > .wpb_wrapper > .tdc-elements{
width: 100%;
}.tdi_89 > .wpb_wrapper > .vc_row_inner{
width: auto;
}.tdi_89 > .wpb_wrapper{
width: auto;
height: auto;
}
/* inline tdc_css att */

.tdi_89{
padding-right:40px !important;
width:calc(100% – 340px) !important;
}

/* phone */
@media (max-width: 767px)
{
.tdi_89{
padding-right:0px !important;
width:100% !important;
}
}

/* landscape */
@media (min-width: 1019px) and (max-width: 1140px)
{
.tdi_89{
padding-right:20px !important;
width:calc(100% – 328px) !important;
}
}

/* portrait */
@media (min-width: 768px) and (max-width: 1018px)
{
.tdi_89{
padding-right:20px !important;
width:100% !important;
}
}

/* custom css */
.tdi_92{
position: relative !important;
top: 0;
transform: none;
}.tdi_92,
.tdi_92 .tdc-inner-columns{
display: block;
}.tdi_92 .tdc-inner-columns{
width: 100%;
}

/* custom css */
.tdi_94{
vertical-align: baseline;
}.tdi_94 .vc_column-inner > .wpb_wrapper,
.tdi_94 .vc_column-inner > .wpb_wrapper .tdc-elements{
display: block;
}.tdi_94 .vc_column-inner > .wpb_wrapper .tdc-elements{
width: 100%;
}

/* inline tdc_css att */

.tdi_95{
margin-top:0px !important;
}

/* phone */
@media (max-width: 767px)
{
.tdi_95{
padding-left:0px !important;
}
}

/* custom css */
.tdb_single_content{
margin-bottom: 0;
*zoom: 1;
}.tdb_single_content:before,
.tdb_single_content:after{
display: table;
content: ”;
line-height: 0;
}.tdb_single_content:after{
clear: both;
}.tdb_single_content .tdb-block-inner > *:not(.wp-block-quote):not(.alignwide):not(.td-a-ad){
margin-left: auto;
margin-right: auto;
}.tdb_single_content a{
pointer-events: auto;
}.tdb_single_content .td-spot-id-top_ad .tdc-placeholder-title:before{
content: ‘Article Top Ad’ !important;
}.tdb_single_content .td-spot-id-inline_ad0 .tdc-placeholder-title:before{
content: ‘Article Inline Ad 1’ !important;
}.tdb_single_content .td-spot-id-inline_ad1 .tdc-placeholder-title:before{
content: ‘Article Inline Ad 2’ !important;
}.tdb_single_content .td-spot-id-inline_ad2 .tdc-placeholder-title:before{
content: ‘Article Inline Ad 3’ !important;
}.tdb_single_content .td-spot-id-bottom_ad .tdc-placeholder-title:before{
content: ‘Article Bottom Ad’ !important;
}.tdb_single_content .id_top_ad,
.tdb_single_content .id_bottom_ad{
clear: both;
margin-bottom: 21px;
text-align: center;
}.tdb_single_content .id_top_ad img,
.tdb_single_content .id_bottom_ad img{
margin-bottom: 0;
}.tdb_single_content .id_top_ad .adsbygoogle,
.tdb_single_content .id_bottom_ad .adsbygoogle{
position: relative;
}.tdb_single_content .id_ad_content-horiz-left,
.tdb_single_content .id_ad_content-horiz-right,
.tdb_single_content .id_ad_content-horiz-center{
margin-bottom: 15px;
}.tdb_single_content .id_ad_content-horiz-left img,
.tdb_single_content .id_ad_content-horiz-right img,
.tdb_single_content .id_ad_content-horiz-center img{
margin-bottom: 0;
}.tdb_single_content .id_ad_content-horiz-center{
text-align: center;
}.tdb_single_content .id_ad_content-horiz-center img{
margin-right: auto;
margin-left: auto;
}.tdb_single_content .id_ad_content-horiz-left{
float: left;
margin-top: 9px;
margin-right: 21px;
}.tdb_single_content .id_ad_content-horiz-right{
float: right;
margin-top: 6px;
margin-left: 21px;
}.tdb_single_content .tdc-a-ad .tdc-placeholder-title{
width: 300px;
height: 250px;
}.tdb_single_content .tdc-a-ad .tdc-placeholder-title:before{
position: absolute;
top: 50%;
transform: translateY(-50%);
margin: auto;
display: table;
width: 100%;
}.tdi_95 .tdb-block-inner blockquote p{
font-size:30px !important;
}@media (max-width: 767px) {
.tdb_single_content .id_ad_content-horiz-left,
.tdb_single_content .id_ad_content-horiz-right,
.tdb_single_content .id_ad_content-horiz-center {
margin: 0 auto 26px auto;
}
}@media (max-width: 767px) {
.tdb_single_content .id_ad_content-horiz-left {
margin-right: 0;
}
}@media (max-width: 767px) {
.tdb_single_content .id_ad_content-horiz-right {
margin-left: 0;
}
}@media (max-width: 767px) {
.tdb_single_content .td-a-ad {
float: none;
text-align: center;
}
.tdb_single_content .td-a-ad img {
margin-right: auto;
margin-left: auto;
}
.tdb_single_content .tdc-a-ad {
float: none;
}
}@media print {
.single .td-header-template-wrap,
.single .td-footer-template-wrap,
.single .td_block_wrap:not(.tdb_breadcrumbs):not(.tdb_single_categories):not(.tdb-single-title):not(.tdb_single_author):not(.tdb_single_date ):not(.tdb_single_comments_count ):not(.tdb_single_post_views):not(.tdb_single_featured_image):not(.tdb_single_content) {
display: none;
}
.single.td-animation-stack-type0 .post img {
opacity: 1 !important;
}
}

/* phone */
@media (max-width: 767px){
.tdi_95 img.aligncenter,
.tdi_95 .aligncenter img{
margin-left: -50px;
width: calc(100% + (2 * 50px));
max-width: none !important;
}
}

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.

  • READ MORE: Best FPS games: what’s the best shooter you can play in 2023?

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.

Advertisement

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!”

Advertisement

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

/* custom css */
.tdb_single_tags{
margin-bottom: 2px;
font-weight: 600;
}.tdb_single_tags span,
.tdb_single_tags a{
font-size: 11px;
}.tdb_single_tags span{
text-transform: uppercase;
}.tdb_single_tags ul{
display: inline-block;
margin: 0;
list-style-type: none;
font-size: 0;
}.tdb_single_tags li{
display: inline-block;
margin-left: 0;
}.tdi_96 span{
margin-right: 4px;

padding: 2px 8px 3px;

color: #fff;

background-color: #222;
}.tdi_96 a{
margin-right: 4px;

padding: 1px 7px 2px;

border: 1px solid #ededed;

color: #111;
}

/* landscape */
@media (min-width: 1019px) and (max-width: 1140px){
.tdi_96 a{
border: 1px solid #ededed;
}
}

/* portrait */
@media (min-width: 768px) and (max-width: 1018px){
.tdi_96 a{
border: 1px solid #ededed;
}
}

/* phone */
@media (max-width: 767px){
.tdi_96 a{
border: 1px solid #ededed;
}
}

  • Related Topics
  • Apex Legends
  • Nintendo Switch
  • PC
  • PS4
  • PS5
  • Respawn Entertainment
  • Xbox One
  • Xbox Series S
  • Xbox Series X
  • Xbox Series X|S

/* inline tdc_css att */

.tdi_98{
margin-top:32px !important;
margin-bottom:32px !important;
}

You May Like

window._taboola = window._taboola || [];
_taboola.push({mode:’alternating-thumbnails-a’, container:’taboola-below-article’, placement:’below-article’, target_type: ‘mix’});

Source: www.nme.com

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button