"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Unity-Android: Starting with Blue Screen

I have created a project for Android and started out using QCAR without Unity but decided in a later stage of the project to start using Unity. So what I did was to follow the instructions for creating a QCAR Unity project and also followed the instructions on the Unity homepage for integrating Unity to Eclipse. I seem to have problems loading the created scenes into the application that I have created. What I have understood is that the Unity "blank view" is a blue screen (not a error page) that has nothing on it, which I get when starting the application. I used the following code to start the Unity Player. The code is located in myproject\src and the scenes are located in myproject\assets\Scens (have also tried without the Scens folder). [CODE]import android.os.Bundle; import com.unity3d.player.UnityPlayerActivity; public class UnityPlay extends UnityPlayerActivity{ /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } }[/CODE] The Unity project can be built to the phone and run from there and the scene works with no problem. So the problem seems to be loading the levels, so how do I decide what level to load when starting Unity from my Android application and how do I get it to start? A question about the archtecture of the QCAR library: When loading the QCAR library, a myproject/assets/Plugin/Android folder is created. In that folder a AndroidManifest is located with all libraries for QCAR. I do still have a AndroidManifest in my myproject folder and what is the purpose of the AndroidManifest in the plugin folder? Do I really need two AndroidManifest and could the problem be related to this? The entire QCAR library is imported into the assets folder, is this correct location for it to be located? EDIT: Where should my java code (android application code) be located for Unity projects?

Be sure to use the class structure outlined in that second thread for QCAR 1.0.6. One important thing to understand is that Unity uses a single Android Activity, even for multiple scenes.

I've followed all the mentioned threads as far as possible, but I am still experiencing the same problem. The application seems to be using the manifest in \myproject and not in \myproject\assets\Plugins\Android\ (which I have understood is the one that should be used).

I am still having problems, I know its not a QCAR problem (since I am having problems with out QCAR). I would not ask again if I would not be getting crazy on this (been trying to fix this for almost the entire week).

If you want to bring Android code into a Unity project while you continue to build and run from Unity you'll need to create a JAR file with your Android code. Completely disregard that other guide, you no longer need to mess with the StagingArea.