How to configure Unity Package Manager in Vuforia?

Author: Zen and the Art of Computer Programming

1 Introduction

The Vuforia development kit is divided into three different versions: Vuforia Engine SDK, Vuforia Augmented Reality SDK, and Vuforia Extended Tracking SDK. In order to make it easier for developers to manage these different development packages and their dependencies, Unity officially introduced the Unity Package Manager (UPM) mechanism. The UPM mechanism is not supported in Vuforia. Therefore, this article will introduce how to import the Vuforia development package into the UPM system and compare the advantages and disadvantages of the two configuration methods.

2.Basic concepts

  • UPM: Unity Package Manager, a new version of the mechanism for managing external resources officially provided by Unity. It can solve dependencies between development packages, version management, etc.
  • Unity project: The project opened in the Unity editor is a Unity project.
  • Package: A complete Unity project or other resource is a Package. Including AssetBundle, various files (scenes, models, scripts, etc.) in the Unity project.

3. Plan selection

Since Vuforia does not support the UPM mechanism, we need to choose a solution to import the Vuforia development package into the UPM system. I give two options:

  1. Package the Vuforia development package into an independent UPM package, and then install this package into the Unity project. This method can maintain the consistency of the Vuforia development package with other packages to the greatest extent.
  2. Publish each Vuforia module as a separate package, and then integrate it into the Unity project through Git submodules. This method can preserve Vuforia's own directory structure to the greatest extent.

3.1 Method 1: Package Vuforia to open

Guess you like

Origin blog.csdn.net/universsky2015/article/details/132313628
Recommended