Answers to frequently asked questions

Load dataset from Android split binary (obb)

July 18, 2017 - 4:25pm #1

A previous thread has described a few different approaches to handling an Android app that exceeds 100mb in size: https://developer.vuforia.com/forum/faq/unity-how-can-i-handle-large-android-apps

This thread will provide a small example of how to load a dataset from the obb file when using the split binary option.

 

Topic locked

Unity - How can I disable the video background

March 31, 2015 - 1:10am #1

In Vuforia 4.0 and above, the camera video background is rendered on a textured plane, called "BackgroundPlane".

The BackgroundPlane is located under the Camera object attached under the ARCamera prefab of the Vuforia Unity Extension; you can visualize this in the scene hierarchy view in Unity, by expanding the ARCamera object hierarchy:

Topic locked

General Programming Resources

June 5, 2014 - 10:07am #1

If you are looking for general programming resources that can help get you started with Vuforia, such as OpenGL, Unity, C++ or Java Java programming resources (and more), here are a few web pages that you may want to take a look at:

Unity 3D:

Topic locked

Unity - How can I handle large Android apps

March 22, 2014 - 8:53am #1

If you are building an application with the Vuforia Unity Extension, and you application size exceeds 50MB, you may need to take some special measures in order to be ble to publish this on the Google Play Store, due to the Google Play 50MB app requirement as explained in the official Google Android web site here:

http://developer.android.com/google/play/expansion-files.html

General tips and suggestions

Topic locked

Installing Unity 32-bit Editor on Windows 64-bit

April 11, 2016 - 4:35pm #1

The Vuforia Plugin for Unity on Windows is a 32-bit native Unity plugin and requires the Unity 32-bit Editor to work. You can read more about native Unity 5.0 plugins here:

http://docs.unity3d.com/Manual/UpgradeGuide5-Plugins.html

If running on Windows 64-bit, you will need to download both the Unity Installer and the Unity Editor 32-bit. If running on Windows 32-bit, you only need to download the Unity Installer.

Log in or register to post comments

Unity - Player Settings

August 10, 2015 - 8:22pm #1

Unity Player Settings for Vuforia projects can be a source of problems if incompatible platform settings are selected. The Player Settings layouts changed a bit between Unity 4.6.x and Unity 5.x. Here's some comparison screenshots of the Vuforia-compatible Unity Player Settings for iOS and Android in Unity 4.6.x and Unity 5.x to verify your project settings against.



Key Settings for Vuforia Unity Projects:

Log in or register to post comments

Unity - Load DataSet & Setup Trackables at Runtime

July 8, 2015 - 4:55pm #1

The following Unity script can be used to load a DataSet at runtime, activate it's Trackables, and attach an augmentation object of your choice. The script can be attached to an empty GameObject in a Vuforia scene that has at least one dataset which is not already "Loaded" and "Activated" in the ARCamera object Inspector settings. The script has two public members which can be set in the Inspector:

Log in or register to post comments

Unity - How to select Camera and mirroring

May 18, 2015 - 12:09am #1

In Unity you can select the Camera direction (BACK vs. FRONT camera) in the Unity Editor, by selecting the ARCamera object in your scene and looking at the Inspector panel; there you will find a component called QCARBehaviour which offers a Camera Direction setting which can be set to one of these:

Topic locked

Unity - how can I change the target size programmatically

June 10, 2014 - 9:09am #1

if you want to change the Size of your Image targets at runtime (programmatically via script code),

and you want Vuforia to take into account the new size and change the tracked "target distance" accordingly,

Topic locked

Android - How can I build a basic Vuforia app

May 23, 2014 - 12:44pm #1

This article provides some guidelines on how to build a basic Vuforia-enabled Android application, starting from an empty Activity. This only covers basic setup steps, such as Vuforia initialization, tracker initialization and starting / stopping the camera. For more details about specific features, you can consult the developer guide and look at the sample code in the Vuforia samples.

This article refers to common concepts and API of the Android Activity life-cycle, such as creating, pausing, resuming and destroying an Activity.

Topic locked