question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Follow-up to #3860 - better fix

See original GitHub issue

#3860 fixes an issue where in some circumstances a NaN value gets mixed into some rendering. At first it seemed to be a sequence issue about a player’s respawn location not having been set right before re-entering the player after death, causing a different player to fail trying to draw the player that doesn’t have a valid location yet. Something like that, see the other issue for details, near midnight here and running on empty 😃

We’re applying a temporary fix to catch and deal with the NaN but that doesn’t feel right, like outlined in the PR. Need to revisit - making this issue as a reminder.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
keturncommented, May 30, 2020

I wasn’t sure, so I just did a quick search on whether setting up try/catch adds any overhead for the calls that don’t generate exceptions. It looks like there’s general agreement that using try/catch does not add overhead.

In that case, given how rarely this happens (measured as percentage-of-method-calls, not percentage-of-multiplayer-games) and that it really is an exceptional case, I think try/catch would serve us much better here than checking up front.

Now exactly where to catch it or what to do about it when it’s caught I don’t know.

0reactions
skaldarnarcommented, May 30, 2020

Related to #3984

Read more comments on GitHub >

github_iconTop Results From Across the Web

Improve proving code (follow up on #3860) #4437 - GitHub
I6-refactor Code needs refactoring. P5-sometimesoon Issue is worth doing soon. Q2-easy Can be fixed primarily by duplicating and adapting ...
Read more >
MCS 3860 seems to be not quite at its best... - Audiokarma
MCS 3860 seems to be not quite at its best. ... if it is necessary to use a zero residue cleaner first and...
Read more >
How I treat refractory thrombotic thrombocytopenic purpura
Vincristine may work better when used in the initial treatment of patients with TTP, rather than for treating refractory patients. 60,62 A combination...
Read more >
3860 (Code Formatting and Style Check for RTEMS score)
This project should improve the situation and work towards automatic stle and formatting checking for RTEMS score.
Read more >
Vivial | Complaints | Better Business Bureau® Profile
View customer complaints of Vivial, BBB helps resolve disputes with the services or products a business provides.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found