Log in or register to post comments

New scene causes drift (Vuforia Google Cardboard Unity)

November 6, 2015 - 7:22am #1

Hi there, I hope i can get a quick solution to this, I'm in a bit of a bind.

I have two scenes we are demoing with Google Cardboard, one AR one, VR, both entirely unrelated.

When I switch between scenes using Application.Loadlevel, everything works perfectly except that every time I go back to the first scene, the video is no longer registered to the marker (it looks to be about the same distance as the stereo spread.  Is one eye loading over top of another???  I can't figure out what's causing this as it looks terrible.  Any suggestions where to begin debugging would be appreciated.  I don't have a lot of time to hunt and peck at settings.

Below is all I'm using to switch scenes.

void Start () {

		cardboardObjectToDestroy = GameObject.Find ("/Cardboard");

	}
	void OnGUI () {
		GUI.color=new Color(1.0f,1.0f,1.0f,0.0f);
		if (GUI.Button(new Rect(0, 0, Screen.width, Screen.height), "scene")) {
			Destroy(cardboardObjectToDestroy);
			Application.LoadLevel(levelToLoad);

		}

	}

Screenshots to illustrate the problem.  It's completely replicable.  THanks.

AttachmentSize
Image icon IMG_0002.jpg15.65 KB
Image icon IMG_0003.jpg16.55 KB

New scene causes drift (Vuforia Google Cardboard Unity)

November 16, 2015 - 8:44pm #2

Which version of Cardboard SDK are you using?

Log in or register to post comments