Log in or register to post comments

New image target import breaks AR video

October 14, 2013 - 4:14am #6

I have a AR video in my Unity project that has been working great. I imported a different target prefab and installed in Unity. I attached the data set to the target and selected my target image. On the AR camera I put a check mark next to my dataset. When I run the build on my iPad or webcam I see no video. Sometimes I can hear it and sometimes not

 

i get the following comments in my console

 

Num trackables detected: 1
UnityEngine.Debug:Log(Object)
QCARManagerImpl:InitializeTrackableContainer(Int32) (at Assets/Qualcomm Augmented Reality/Scripts/Internal/QCARManagerImpl.cs:398)
QCARManagerImpl:Update(ScreenOrientation, CameraDeviceMode, VideoModeData&) (at Assets/Qualcomm Augmented Reality/Scripts/Internal/QCARManagerImpl.cs:285)
QCARBehaviour:Update() (at Assets/Qualcomm Augmented Reality/Scripts/QCARBehaviour.cs:441)
 
 
 
Playing videos is currently not supported in Play Mode.
UnityEngine.Debug:LogWarning(Object)
VideoPlaybackController:Update() (at Assets/Scripts/Vuforia/VideoPlaybackController.cs:112)
 
Any ideas on how to fix this? Thank you.

New image target import breaks AR video

October 14, 2013 - 1:00pm #5

Trouble shooting ideas?

New image target import breaks AR video

October 14, 2013 - 1:17pm #4

Video playback isn't supported in the Editor, so that's to be expected. 

Do you see any augmentation on the target using the iPad? - e.g. a button.

Also try playing the video on your iPad Video player to confirm that it's otherwise rendering properly. You can transfer the video via iTunes - http://support.apple.com/kb/HT2729

Lastly confirm that the video prefab is a bit above the target plane so that it's not being occluded by the depth mask.

New image target import breaks AR video

October 14, 2013 - 1:33pm #3

I will check these things. If I touch inside the iPad I can sometimes get lucky and play the video full screen. This way i know it is there.

 

The video ar was working untill I imported for the new image targets. Are there any troubleshooting techniques related to the image targets being imported?

New image target import breaks AR video

October 14, 2013 - 1:53pm #2

You might try using a fresh Video prefab instance, and reimporting the scene ( Assets > Reimport All ) - be sure to backup your project first. 

Also expand your hierarchy and look for any items in red - that indicates that they've been corrupted. Sometimes Unity will strip component references during the import process. 

And try adding a simple model as the child of the target to see if it will render. 

New image target import breaks AR video

October 14, 2013 - 9:25pm #1

I finally got it to work. Thank you. Using a cube as child of the video marker and using my webcam helped me to quickly find the problem. The problem was the tracker image. Even though it was rated 5 stars it was unsuitable for tracking. I could get it to track only 5 percent of the time. I switched out for another image and it now works fine. I guess the lesson is don't rely 100 percent on the track rating. Nothing can suplement testing. 

Log in or register to post comments