Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Video HDRP not showing video with video player

Discussion in 'Audio & Video' started by LeroyHermans, Dec 4, 2018.

  1. LeroyHermans

    LeroyHermans

    Joined:
    Feb 26, 2017
    Posts:
    2
    Hi,

    I am currently trying to get my game working on the HDRP but my ingame cutscenes are broken since the video player does no longer work with the HDRP.

    My surrent set up is:
    1. A video texture.
    2. A Video player that renders a video to the video texture

    If there is no work around availbale i have to write my own video interpreter? is this even possible in unity?

    I hope to hear from you soon.
     
  2. cmorait

    cmorait

    Joined:
    Nov 22, 2017
    Posts:
    59
    Same here is not playing back. I am using version 2018.2.18f1
     
  3. JuozasK

    JuozasK

    Unity Technologies

    Joined:
    Mar 23, 2017
    Posts:
    84
    Hey!
    What do you mean by "video texture"? You mean you are rendering to a Render Texture from a Video Player component?
     
  4. AlvaroGonzalez

    AlvaroGonzalez

    Joined:
    Dec 8, 2016
    Posts:
    4
    I'm experiencing the same problem. I just upgraded to 2018.3 and installed HDPR (12/13/2018) using this guide provided by unity:
    https://blogs.unity3d.com/2018/09/2...2.1572056720.1541614401-1757210372.1539201573

    My scene only contains very few elements. It's just a splash screen before loading the main menu scene. I'm using a Video Player component.

    Aside from the video not playing, also this error appears on my console:

    Code (CSharp):
    1. Culling group was not disposed. You have to call Dispose explicitly from the main thread. This will likely result in a crash.
    2. UnityEngine.CullingGroup:Finalize()
    Screenshot of the inspector attached.

    This problem was not present after upgrading to 2018.3. It only started happening when I switched to HDRP.
     

    Attached Files:

  5. JuozasK

    JuozasK

    Unity Technologies

    Joined:
    Mar 23, 2017
    Posts:
    84
  6. KGFM

    KGFM

    Joined:
    Mar 24, 2019
    Posts:
    1
    I have had the same problem My menu cut scenes wont play in hdrp while I tested without hdrp and it worked fine.
     
  7. Mursaleen

    Mursaleen

    Joined:
    Aug 18, 2016
    Posts:
    1
    here is solution and please Subscribe my channel.
     
  8. pedroarruda4991

    pedroarruda4991

    Joined:
    Jan 9, 2021
    Posts:
    20
    Thanks Mursaleen! So in short for those who have the same problem: go to the material of the object where video will appear and unlit the material texture.