Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Question handheld AR and desktop version in the same Unity app?

Discussion in 'AR' started by alinator_bambie, Jun 5, 2023.

  1. alinator_bambie

    alinator_bambie

    Joined:
    May 9, 2023
    Posts:
    4
    Hi all,

    I am trying to understand the capability of the software to create an interactive artwork. I need to create a single app that would combine a location specific AR work (with physical targets in a gallery) and a desktop based virtual world. The idea is to have a feedback loop between the two, so the AR elements that are activated by the users in AR view also show up in a desktop view. So while desktop view will not have real time stream of the gallery space, it will have a stylized 3d model of the gallery space and the targets, and will have all AR components appear when they appear in the AR view.

    Is it possible to make a Unity app that would combine AR and desktop functionality in this way?

    Please let me know if you have any tips about it. I have been googling for hours but can't find answers.

    Thank you very much!
     
  2. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    195
    You can, but you will need separate builds of your application for different platforms (mobile, desktop) and you can use platform defines to enable different code on each platform. Depending on how different the app behaviors are that may or may not be a good approach.
     
  3. alinator_bambie

    alinator_bambie

    Joined:
    May 9, 2023
    Posts:
    4
    hi @CiaranWills thank you for your response. In this case, will it be possible for the desktop users to see the elements that are placed into the world by the AR users?

    I will check out platform defines.

     
  4. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    795