[Bug] ARKit environment probes are put into the scene with wrong rotation

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

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

評価

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

調査の方向性

Start with AREnvironmentProbeManager and reproduce the issue using the reflective sphere prefab on a recent iOS device, following the listed Unity and ARFoundation versions. Done means generated environment probes consistently match the real-world environment orientation instead of appearing upside down or sideways.

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

説明

bug editor

Unity bug report case number
IN-9003 https://unity3d.atlassian.net/servicedesk/customer/portal/2/IN-9003

Describe the bug
Environment probes generated from the real environment are loaded into the engine with seemingly random rotation. Often they will be upside down or on their side.

To Reproduce

  1. Create a prefab sphere with completely reflective material (metallic 1, smoothness 1)
  2. Add a AREnvironmentProbeManager to your ARSessionOrigin and set the prefab from step 1 as the probe prefab
  3. Build and run on a reasonably recent iOS device

Expected behavior
Reflection probes in the scene will be oriented to correspond with the real-world environment

Actual behavior
Some reflection probes are rotated either upside down or sideways

Smartphone (please complete the following information):

  • Device: iPad Pro 3rd generation (2018) and iPhone SE 2020
  • OS: 15.5
  • Unity version: 2021.3.5
  • ARFoundation version: 4.2.3

C109FDFD-D5A2-42C6-B203-DA7A87B69862_1_201_a
083AC43E-224E-4C46-A86D-0C381B6C4D11_1_201_a
1B445A7A-2B18-4341-B3C6-2B4479357359_1_201_a
6BFB3259-A0C5-4881-9B57-278DFB69D9A5_1_201_a

主要言語
C#
スター
3.4k
フォーク
1.2k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

Unity-Technologies/arfoundation-samples のほかの issue

Unity-Technologies/arfoundation-samples の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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