Have a Question?

How to Install Vuforia in your Unity file

1. Launch the Package Manager and search Vuforia then click Install.



30.png

  • The Vuforia Engine will be visible in the GameObject Menu.


  • 31.png

    If this menu is not shown, this means that you did not install Vuforia with Unity (Unity versions before 2019.2) or did not add the Vuforia Engine package to your project (Unity 2019.2 and later).





    Start by adding an ARCamera. This is a Unity camera game object that includes the VuforiaBehaviour to add support for augmented reality apps for both handheld devices and digital eyewear.




    32.png

    Add an ARCamera GameObject from the Vuforia Engine menu.



    33.png

    Select the ARCamera and Open Vuforia Configuration from the Inspector



    34.png

    Add a Vuforia Development License Key in the App License Key field. For a guide on getting a license key, see Vuforia License Manager



    35.png

    36.png
    37.png


    Note: Delete the default Main Camera after adding an ARCamera. The ARCamera contains its own Camera component. The Main Camera is not needed unless you are using it to render a specific camera overlay, e.g. user interface.





    38.png
    39.png

    Vuforia: How to add Image Tracking Feature.

    After activating Vuforia Engine in Unity, you can add features from the Vuforia Engine menu to your project from the Unity GameObject Menu.




    41.png

    Navigate to the Vuforia Engine Menu and select Image Target. or any of the other targets you wish to use. (VuMark, Ground Plane, and Mid Air are also trackable targets). For configurations for using other targets, please consult the Features Overview linked just above. It presents Unity guides for each Vuforia target.






    51.png

    Each Vuforia Engine GameObject can be configured in the Inspector. When a target is added, it will appear in the Hierarchy.


    52.png

    Select the Image Target GameObject from the Hierarchy and choose from the Type dropdown either


    53.png

    From database – Image Target databases can be made in the Vuforia Target Manager. Targets to the project. Vuforia will therefore ask you if you wish to Import Default Image Target Database in a pop-up window.





    54.png

    55.png

    Press Import



    55.png


    55.png

    Note: Maintain an accurate scale between the Vuforia targets and physical prints or objects. Using targets that deviate in size from the real-life object you wish to track might impact the quality.