This application is a Proof of Concept (POC) App for how to build a remote assistant app (similar to Vuforia Chalk) using AR Foundation and Agora.io's Video SDK. A complete tutorial is available on this blog.
Unity 2019
Unity Asset Agora Video SDK
Agora AppId Project page
Clone this project
Open the project from Unity 2019.2 or Above. (2019.3 recommended)
Download and import the Agora Video SDK from Asset Store. Unselect everything in "demo" folder when importing, except the README files.
Use Package Manager from Unity Editor to install ARFoundation /ARKit /ARCore. You may have to try and figure out what version of ARFoundation works for your Unity Editor version. Here are some verified version combinations.
Editor | ARFoundation | ARKit | ARCore |
---|---|---|---|
2019.2 to 2019.4.18 | 3.0.1 | 3.0.1 | 3.0.1 |
2020.1.6 | 3.1.6 | 3.1.7 | 3.1.7 |
2020.2.5 | 4.0.12 | 4.0.12 | 4.0.12 |
2021.1.0 | 4.1.17 | 4.1.17 | 4.1.17 |
Note: in 2020.2.5, make sure to go into project settings XR Plug-in Management and select the XR plug-in providers you need for your project,otherwise you may get a blank camera screen.
Open Main scene and input your AppID to the GameController game object. Note that we don't use AppID with certificate in this demo. But it is highly recommended you use one and implement tokens in your actual application for better security measures.
Following the settings in README_ARFoundation, build and run on compatible iOS and Android devices to test.
This app works with any iOS device that supports ARKit
The AR Remote Assistant app is meant to be used by two users who are in two separate physical locations. One user will input a channel name and CREATE the channel. This will launch a back facing AR enable camera. The second user will input the same channel name as the first user and JOIN the channel. Once both users are in the channel, the user that "JOINED" the channel has the ability to draw on their screen, and the touch input is sent to the other user and displayed in Augmented Reality.
The MIT License (MIT).