OpenRA / OpenRA/OpenRA

debug stats get disabled when joining a lobby

Open
#15,048 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug UI
Dominant language
C#
Stars
17.4k
Forks
3k
Avg merge
1d 12h
Merged PRs (30d)
14

Description

When opening the skirmish lobby (just an example, I bet MP game lobby and others are affected, too)

  • the debug Tick counter breaks (resets and stays at 0)
  • the ms/Tick go up by ~3ms and stay there even if you return to main menu

I wonder if the latter is due to the widget not properly releasing/disposing when closed.
Fortunately the effect at least doesn't stack, but it's still worth investigating, in my opinion.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the skirmish lobby with the debug Tick counter and ms/Tick visible, then compare the values after returning to the main menu. Trace the lobby and debug-stat widget lifecycle; done means the Tick counter continues working and the ms/Tick increase disappears after leaving the lobby.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.