Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug AREnvironmentProbeManager doesn't respect AutomaticPlacement flag

Discussion in 'AR' started by joensa, Nov 27, 2023.

  1. joensa

    joensa

    Joined:
    Jul 6, 2023
    Posts:
    15
    [Tested on iOS and XR Simulation - Unity 2022.3.13, AR Foundation 5.1.1 & 5.1.0]

    An
    AREnvironmentProbe
    is created as a child of
    XROrigin.TrackablesParent
    even though the editor flag for
    m_automaticPlacement
    is set to false on start.

    This occurs whenever the
    AREnvironmentProbeManager
    is enabled for the first time.

    Setting
    AREnvironmentProbeManager.automaticPlacementRequested = false
    isn't possible prior to enabling the component.

    [Edit] This does not occur on device (iOS), only in XR Simulation
     
    Last edited: Nov 27, 2023
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    986
    Thanks for this report; however, it's very easy for us to lose track of forum posts. Please file a bug as noted in our FAQ:

    If you'd like to open a line of communication with us about this issue, feel free to also post in GitHub issues. GitHub issues are unofficial but allow us to follow up with you if and when we can address this issue: https://github.com/Unity-Technologies/arfoundation-samples/issues

    It's basically impossible for us to track forum posts