MirrorNetworking / MirrorNetworking/Telepathy

Client accidentally stops to receive server messages

Open
#119 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.2k
Forks
141
PR merge metrics
No merged PRs in 30d

Description

Hi everyone,

I have .net 6 console app as server and Unity app as client with same version of Telepathy added to both as source code.
Server app is working fine sending and receiving messages as expected.
Client app is sending properly but receiving accidentally various number or messages and just stops with no errors continuing sending messages to server and stay able to disconnect from server normally.

Looks like this:
image

Running Unity in background is true.
Client's receiveTimeout was set with different values - no changes.

I handle ticks like this on both, server and client:
image

Looking forward for any help with this.
Thanks in advance.

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 issue with the reported .NET 6 server and Unity client using the same Telepathy source, then inspect the tick-handling code shown in the issue and vary receiveTimeout. Compare client and server message processing while Unity runs in the background. Done means identifying a reproducible cause for receiving to stop, or documenting the missing information needed to isolate it.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
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.