Skip to content

1. Home

Matteo Baraldi edited this page Jul 9, 2021 · 3 revisions

Welcome to the ARWT wiki!

ARWT is an experimental library that aims to use the Unity engine to create and build AR web applications. ARWT acts as a bridge between Unity and the best AR libraries available for the Web.

Unity Version

We’re developing ARWT using Unity 2019.4 LTS, since we've not tested previous versions we highly recommend using Unity from this version.

NOTE: From Unity 2020.1 & above the way Unity creates the javascript loaders and customizes the templates are changed. So, if you try to upgrade the project to the newest versions you'll get a project that builds correctly but doesn't load anything once played. If you want to try upgrading the library, start from here: https://forum.unity.com/threads/changes-to-the-webgl-loader-and-templates-introduced-in-unity-2020-1.817698/

Along with Unity, you need to install the WebGL build module.

Be sure to set the target platform to WebGL.

Host the build!

To run a server on localhost and test your project from a mobile device there are many different solutions, we usually use live-server-https (https://www.npmjs.com/package/live-server-https). To set up your machine, install npm, and install the package, we remind you to the official guides.

Clone this wiki locally