Search Issue Tracker

In Progress

Under Consideration for 4.2.X, 5.1.X, 6.0.X

In Progress in 6.1.X

Votes

0

Found in [Package]

4.2.10

5.1.5

6.0.3

Issue ID

ARFB-486

Regression

No

AREnvironmentProbe is created as a child of XROrigin.TrackablesParent when AutomaticPlacement is set to false on start

Package: AR Foundation

-

Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“
3. Enter Play Mode
4. Observe the “AREnvironmentProbe“ GameObject in the Hierarchy window

Expected result: The “AREnvironmentProbe” GameObject does not exist
Actual result: The “AREnvironmentProbe“ GameObject is a child of the “XR Origin/Trackables” GameObject

Reproducible with: 4.2.10(2021.3.43f1), 5.1.5(2022.3.45f1), 6.0.3(6000.0.17f1)

Reproducible on: macOS Sonoma 14.6.1 (M1 Pro)
Not reproducible on: No other environment tested

Comments (2)

  1. joensa

    Nov 04, 2024 09:27

    This breaks GPU instancing in scenes where only one AREnvironmentProbe is intended.

    Batch cause:
    Objects are affected by different reflection probes.

    Disabling the AREnvironmentProbe's GameObject is a workaround for XR simulation, but a permanent fix would help in preventing confusion in scene optimization.

  2. joensa

    Sep 03, 2024 21:03

    The expected result would actually be that no AREnvironmentProbe is created when the AREnvironmentProbeManagers's Automatic Placement flag is off in the editor.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.