Search Unity

Video intro in AR project

Discussion in 'Vuforia' started by Pasha_Ram, Jun 16, 2018.

  1. Pasha_Ram

    Pasha_Ram

    Joined:
    May 14, 2018
    Posts:
    2
    Hello Everyone! Would you please advise me how to correctly play a video file intro before all scenes in game?

    I want to play an intro video in my app.

    The problem is: when I set my ARCamera in Camera render mode in Video Player component, then I build an app and when it starts, I get small showing of camera feed, before the video plays on the screen.

    I tried my modest script to use separate Camera for playing the video, then it sets to inactive mode, and sets active true ARCamera. But no result - the first camera appearing in scene marking by vuforia as default AR Cam and also shows its live feed before playing video.

    How can I get rid of using the Camera for playing my intro video?

    Big thanks,
    Paul
     
  2. Pasha_Ram

    Pasha_Ram

    Joined:
    May 14, 2018
    Posts:
    2
    Solved with delayed initialization