Log in or register to post comments

Application doesn't work when built, but it works through unity.

May 9, 2018 - 1:20pm #1

So as the title says I have a problem.

I want an imagetarget to show a video that will automatically play when looked at through my android device.

When previewed in Unity through playing, it works as intended, but when I build it and open the application on my android devices (i've tried different devices) the application sees the image, and a white screen with a playbutton appears. The thing is it autoplays when played in Unity, but when checked through my device the playbutton(it senses me pressing tho as it shifts color) doesn't play the video, nor does it automatically play.

 

I'm a total newbie and have been struggling like hell with getting this to work, and would be more than happy if you guys could help me out.

If you need more information before helping me figure out what's the problem here, let me know.



Kind Regards

Application doesn't work when built, but it works through unity.

May 10, 2018 - 12:32pm #2

So the application works when played in the editor, but when viewed through my devices it only shows the video as a white frame on the imagetarget.

I've tried all the different settings of camera flags.

I've tried changing the OPEN GL ES3 to OPEN GL ES2.



I know that my devices are supporting AR, as they respond to the targetimage. So it has to do with something about my video.

The video is placed as a Video Player on a Quad, which is a child to the imagetarget.

 

Any suggestions to this problem?

Log in or register to post comments