Skip to content

Third_Party

Jack Brett edited this page Mar 13, 2025 · 10 revisions

Now you have imported LUTE using the package version, it is important to setup a few items to ensure that you can run the scenes as intended and build to multiple platforms without hassle!

Required AR Packages

As our system uses augmented reality it is imperative that the correct packages are installed.

  1. Navigate to Window/Package Manager.
  2. Head to the 'Unity Registery' tab.
  3. Install the packages that are included within the screenshot below.

image

Map Layer

For the map features to work and render correctly, we use a specific layer called 'Map' to allow our objects and cameras to know what to render and how to handle specific objects using this layer. To set this up, simply:

  1. Click on any object a scene (the default scene that is loaded works fine).
  2. Move over to the inspector and press the 'Layer' dropdown.
  3. Press 'Add Layer...'.
  4. In any empty slot, add a layer called 'Map'.

image

  1. All objects that use this layer should update automatically but you can test it out by playing the demo scenes.

Updating Materials for URP

If you are using URP then there are two materials that will require updating. These are:

  • 'TerrainMaterial'
  • 'OrangeMaterial'

Click on the materials then navigate to Edit/Rendering/Universal Render Pipeline and update the materials for URP purposes.

Android Build Settings

Now we have correctly set our preferences and materials, we suggest playing the demo scenes to ensure they work correctly. When ready to build to Android please note the following build settings should be set to ensure the game works as intended. Please note this is just for Android.

  1. Auto Graphics API is off and the render list looks like the screenshot below (this is for AR rendering aspects). image
  2. Minimum API Level is set to 24. image
  3. Application Entry Point is set to 'Activity' (for older java based plugins such as Mapbox). image

Adding the Demo Scenes

Now everything is ready to be built, you can add the demo scenes to the scene list if you want to try out LUTE in full. Please see the following screenshot for what scenes are included and what order they are built. Once this has been set, go ahead and build it! This should work for all mobile platforms and you should be able to use the 'Level Select' scene to navigate all the demo scenes.

image

Good luck and have fun!

Clone this wiki locally