Search Unity

Question Mixing MARS and AR Foundation

Discussion in 'Unity MARS' started by adamajohnston, Jan 22, 2021.

  1. adamajohnston

    adamajohnston

    Joined:
    Apr 30, 2018
    Posts:
    5
    Is mixing of MARS and AR Foundation components supported?

    I am trying to work out how I should configure environment probes within a MARS scene.
    If I add a AR Environment Probe Manager Unity also adds an AR Session (as it is a dependency).
    Will this work alongside the MARS session which is already present?

    MARS 1.1.1
    MARS AR Foundation Providers 1.1.2
    AR Foundation 3.1.6

    regards

    Adam
     
  2. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    199
    Yes, you can mix MARS and AR Foundation. MARS will look for existing AR Foundation components in your scene at runtime and use those if they are present, otherwise it will create it's own temporary ones.

    Let us know if you have any issues.
     
  3. adamajohnston

    adamajohnston

    Joined:
    Apr 30, 2018
    Posts:
    5
    Thanks Ciaran!