"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

Vuforia breaking Unity's VideoPlayer component

I'm trying to use Unity's VideoPlayer component in a scene with Vuforia and it simply will not work due to something that Vuforia is doing.

I've confirmed this by starting the scene with just the VideoPlayer component active (which works normally and plays the video), and activating all of Vuforia's prefabs in the scene after a delay (which causes the VideoPlayer component to stop working and display black).

The problem seems to be that Vuforia is interfering with the VideoPlayer component's texture property (the render texture that the component outputs video frames to) - even if the VideoPlayer component is set to API mode, the texture property becomes null after Vuforia's component's start (which shouldn't be happening as the texture property is read only).

Can anyone help with this? I've tried everything that I can think of (including instantiating the VideoPlayer component at runtime after Vuforia has started up), but I can't find a way to make it work with Vuforia on Android & iOS

Thanks

udvaritibor

Sun, 07/30/2017 - 21:45

This is working fine for me overriding the _MainTex property, I'm using Vuforia SDK v6.2.10 and Unity 2017.1. Testing on iOS 10.3 with iPhone 5S.

There is a moment at the beginning of the Video where it goes black though.

I attached a screencast of it working ...