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

Aperta
#992 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp, unity
Ambito
mobile-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C#
Stelle
3.4k
Fork
1.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Unity-Technologies/arfoundation-samples

Tutte le issue di Unity-Technologies/arfoundation-samples

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.