Lightcaster-Studios / Lightcaster-Studios/Beamerman

[Online] Steam names not showing properly in UI

Open
#225 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Feature.Multiplayer Priority.High
Dominant language
C++
Stars
1
Forks
5
PR merge metrics
No merged PRs in 30d

Description

After someone hosts a game, the player will be directed to a waiting for players lobby (similar to local multiplayer).

When new players join, for some reason, all the players names are the host's name instead of the player's actual steam name. I have tried to make debug statements to see if the player's steam name is actually fetched, and found out that whenever a new player joins, `OnPostLogin` is called TWICE, one for the new player and one for the host. Because it is called twice, the host's steam name displaces the new guy's steam name and therefore all the steam names displayed = the host name.

I cannot figure out why `OnPostLogin` is being called twice :( Someone please help

@LiuTianZ @NBH99

Contributor guide

No contributing guide indexed for this repository

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 online lobby flow and tracing the OnPostLogin calls when a new player joins, comparing the host and joining player. Done means each player's actual Steam name appears for the correct player in the waiting lobby without one callback overwriting another.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, unreal-engine
Domain
game-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.