Unity-Technologies / Unity-Technologies/com.unity.netcode.gameobjects

Closing the game on Android doesn't properly disconnect the client

オープン
#3,119 コメント 4 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

stat:awaiting-response stat:imported type:bug
主要言語
C#
スター
2.3k
フォーク
461
平均マージ
3日 16時間
マージ済み PR(30日)
20

説明

Description

On Android, when quitting the app, the server and other players don't get notified. Eventually it will time out due to heartbeats, but that is not ideal. When quitting the game on other platforms, such as Windows, it correctly notifies the server, and the player prefab gets destroyed.

Environment
  • OS: Android
  • Unity Version: 6000.0.25f1
  • Netcode Version: 2.1.1
Additional Context

Specifically tested on:

  • Samsung galaxy J5 2017
  • Meta quest 2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ソースファイルもテストも指定されていません。Android でゲームを終了する操作を再現し、観測された切断動作を Windows と比較してください。Android アプリケーションの終了ライフサイクルと、既存のクライアント切断経路を追跡してください。完了の条件は、サーバーと他のプレイヤーに速やかに通知され、heartbeat timeout を待つのではなく player prefab が破棄されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, csharp, unity
領域
game-dev, mobile, networking
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。