Search Unity

MovieTexture + VR = "Unaccounted" hits performance

Discussion in 'Editor & General Support' started by BenouKat, Jan 9, 2017.

  1. BenouKat

    BenouKat

    Joined:
    Feb 29, 2012
    Posts:
    218
    Hi guys,

    I'm trying to play a video into Unity using VR, using a simple Movie Texture. My problem is when the video starts, the profiler shows a "Unaccounted" line, which takes 60% of the frame (and I see huge spikes in profiler). To be simple it cuts my framerate by 2.

    I already converted my video to .ogv to help conversion at runtime.

    Where does this performance issue come from ? How to get rid of it ?

    Thanks a lot in advance !

    PS : Unity v5.4.3p3
     
    Last edited: Jan 9, 2017
  2. Kubold

    Kubold

    Joined:
    May 10, 2012
    Posts:
    339
    Same thing just happened to me. Did you figure it out? Maybe it's a framerate of the movie (24fps?) vs VR's 90fps?