Tests without WebGL Context
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, three.js, typescript
調査の方向性
headless の GitHub Actions テスト環境で失敗を再現し、その後 lib/three-components/Renderer.js と、スタックトレースに示されている loading、AR、controls、environment、staging、scene-graph、annotation のパスを調べます。影響を受けるテストが WebGL コンテキストなしで実行でき、threeRenderer または xr のエラーをもう出力しないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
@google/model-viewer v4.0.0 (also tried v3.5.0)
When running tests in CI (GitHub Actions, without a screen), there seems to be an issue i was not having before:
TypeError: this.threeRenderer is undefined thrown
and
Uncaught TypeError: Cannot read properties of undefined (reading 'xr') thrown
which come together with (it seems):
Chrome Headless 131.0.0.0 (Mac OS 10.15.7) WARN: Error: Error creating WebGL context.
Error: Error creating WebGL context.
at new WebGLRenderer (http://localhost:9876/_karma_webpack_/webpack:/node_modules/three/build/three.module.js:14906:13)
at new Renderer (http://localhost:9876/_karma_webpack_/@google/webpack:/node_modules/@google/model-viewer/lib/three-components/Renderer.js:73:34)
at Function.singleton (http://localhost:9876/_karma_webpack_/@google/webpack:/node_modules/@google/model-viewer/lib/three-components/Renderer.js:103:31)
at new LoadingModelViewerElement (http://localhost:9876/_karma_webpack_/@google/webpack:/node_modules/@google/model-viewer/lib/features/loading.js:177:22)
at new ARModelViewerElement (http://localhost:9876/_karma_webpack_/@google/webpack:/node_modules/@google/model-viewer/lib/features/ar.js:58:13)
at new ControlsModelViewerElement (http://localhost:9876/_karma_webpack_/@google/webpack:/node_modules/@google/model-viewer/lib/features/controls.js:178:13)
at new EnvironmentModelViewerElement (http://localhost:9876/_karma_webpack_/@google/webpack:/node_modules/@google/model-viewer/lib/features/environment.js:37:13)
at new StagingModelViewerElement (http://localhost:9876/_karma_webpack_/@google/webpack:/node_modules/@google/model-viewer/lib/features/staging.js:42:13)
at new SceneGraphModelViewerElement (http://localhost:9876/_karma_webpack_/@google/webpack:/node_modules/@google/model-viewer/lib/features/scene-graph.js:41:13)
at new AnnotationModelViewerElement (http://localhost:9876/_karma_webpack_/@google/webpack:/node_modules/@google/model-viewer/lib/features/annotation.js:35:13)
- 主要言語
- TypeScript
- スター
- 8.4k
- フォーク
- 964
- 平均マージ
- 5日 11時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/model-viewer のほかの issue
-
AR not offered in DuckDuckGo iOS (`Ddg/` UA), Ecosia iOS, and Firefox for Android対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
google/model-viewer#5227 ·
メンテナーはふだん 4 日以内に返信
-
Normal maps are inverted with KHR_materials_variants対応中かも @mmporong が 12 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
google/model-viewer#5218 ·
メンテナーはふだん 4 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
google/model-viewer#5210 · コメント 14 件 ·
メンテナーはふだん 4 日以内に返信
-
Helpオープン
難易度 2/5 1時間未満 初心者へのやさしさ 12/100
google/model-viewer#5206 ·
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
google/model-viewer#5203 ·
メンテナーはふだん 4 日以内に返信
google/model-viewer の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Bug Nethernet Tests
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JSPrismarine/JSPrismarine#3949 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
withkarann/aifoxx#504 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信