Hello there,
I am using the latest imagemarker example, the latest version of Unity, the latest version of the SDK and Vuforia plug in.
When I touch a detected object on the screen, I want to launch a MP4 movie.
Everything works great, but when I want to click done to close the movie, the app crashes and the movie hangs.The only thing I can do is force quit.
This used to work before, what am I doing wrong here please?
Thank you, best regards
###
#pragma strict
#pragma implicit
#pragma downcast
var animationState="DOWN";
function Update () {
Debug.Log(animationState);
var hit : RaycastHit;
for (var i = 0; i < Input.touchCount; ++i) {
if (Input.GetTouch(i).phase == TouchPhase.Began) {
var ray = Camera.main.ScreenPointToRay (Input.GetTouch(i).position);
if (Physics.Raycast (ray,hit)) {
Debug.Log(hit.transform.name+" touched");
if (hit.transform.name=="pussycat") {
Handheld.PlayFullScreenMovie ("mymovie.mp4", Color.black, FullScreenMovieControlMode.Full, FullScreenMovieScalingMode.AspectFit);
}
}
}
}
}
Complete Crash when launching "Handheld.PlayFullScreenMovie"
Complete Crash when launching "Handheld.PlayFullScreenMovie"
Hello there,
yes I took a look at the example. It works great, but what I want do is have an augmentation say a cube. I click on that cube and then a video opens full screen. When I click on "DONE" the movie closes and I am back in the AR camera screen.
Complete Crash when launching "Handheld.PlayFullScreenMovie"
There is no reason this should not work.
Complete Crash when launching "Handheld.PlayFullScreenMovie"
Hi Nalin,
sure. I am using Unity 3.5.6 with the latest Xcode and IOS6 as well as the latest versions of the Vuforia extension.
I just set up a new simple complete new project.
I call a movie with
Complete Crash when launching "Handheld.PlayFullScreenMovie"
Hi barebone,
Please PM me with a link to your project and I will take a look.
thanks,
N
Complete Crash when launching "Handheld.PlayFullScreenMovie"
Hi
Hi Etienne, I think this
Hi Etienne,
I think this issue is partly iOS related as one seems to get different behaviour on iOS4/5/6.
My understanding is that iOS6 is where the main problems seem to arise, but that iOS5 is fine.