OpenXRay / OpenXRay/xray-16

Jittery hud in multiplayer

Open
#1,806 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Player Experience
Dominant language
C++
Stars
3.6k
Forks
536
Avg merge
6d 1h
Merged PRs (30d)
3

Description

Describe the bug
In multiplayer game modes, if you are not the host then your hud will jitter.

This seems to be introduced by 136bf5e3d01cee9f06402e8328ba519aa8fcfa02

To Reproduce
Steps to reproduce the behavior:

  1. Start multiplayer game with client 1
  2. Join multiplayer game with client 2
  3. Observe strange hud movement on client 2

Expected behavior
This doesn't occur in vanilla multiplayer, so it is a regression. Hud shouldn't jitter regardless if you're hosting or not.

Screenshots, videos
First half of the clip is client 1 (server host), second half is client 2.

https://github.com/user-attachments/assets/7477bd88-38e9-42ce-ba3c-9505daf8dea8

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 inspecting commit 136bf5e3d01cee9f06402e8328ba519aa8fcfa02, then reproduce the issue with two clients using the listed multiplayer steps and compare the host and non-host HUD behavior. Use the linked video as a reference; done means the client HUD no longer jitters and behavior matches vanilla multiplayer.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.