Modules are randomly not recognised on the client in 'deferred' signal mode

オープン
#192 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

まず、遅延シグナルモードで F5 を使って Roblox Studio 上で問題を再現し、次に Nevermore のモジュールローダーと、_replicationFolder の子要素をどのようにキャッシュしているかを調べます。コンソールに不足しているモジュールが表示されるまでプレイの開始と停止を繰り返します。遅延モードでの起動中にクライアントモジュールと共有モジュールが一貫して認識されれば完了です。

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

説明

In studio/accurate play solo some modules are randomly not registered on the client by Nevermore's loader. It seems to happen randomly, and only in deferred signal mode.

image
image

Which modules aren't recognised is totally random, and can affect Client + Shared modules. It seems like deferred mode has some impact on instance replication? Children are no longer replicated at the exact same time as _replicationFolder, so it doesn't ever get cached?

I think this can be fixed by adding .DescendantAdded in the right place?

Repro:

  • Press F5 / Play in studio.
  • Check for missing modules in the console.
  • Repeatedly play+stop the game until an error appears. For me, it appears around 40% of the time.
主要言語
Lua
スター
632
フォーク
148
平均マージ
15時間 41分
マージ済み PR(30日)
13

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

Quenty/NevermoreEngine のほかの issue

Quenty/NevermoreEngine の issue をすべて見る

似ている issue

Lua の issue をもっと見る

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

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