"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 Video Lag/Dropped Frames

To reproduce:

  1. Go to unity, download the samples (https://www.assetstore.unity3d.com/en/#!/content/99026) and enable XR Settings to use Support Vuforia. 
  2. Drag the ImageTargets Sample scene into Hierchy, and make it the default scene. 
  3. Under ImageTarget_Fissure > Video game object, Inspector, Video Player component:
    1. Change source from VideoClip to URL
    2. Enter mp4 video url. For my testing, I have added (http://www.html5videoplayer.net/videos/toystory.mp4)
  4. Build and deploy on an Android device. I am currently using Samsung Note 5. 
  5. Observe the first few minutes when the video is being prepared. Abysmal performance. The who app is frozen, frames are dropped, for 2-5 seconds until video is fully prepared. 

This just makes it unusable. Is this really something that Unity/Vuforia told us to get excited about? Is this something that you are looking into get fixed? Because really, I cannot deploy something like this to production. I can't hardcode my videos into the app because it would make the app large and unscalable. 

Please help!

Thanks for looking into it. Daaaamn!. I was so excited now I am bummed. I am going to see i there is a way to actually use the Android sample and inject the video contents into the Unity GLContext.