Video Player as Game Object Render Texture

Forums 💬 Slate Sequencer ⚙️ Support Video Player as Game Object Render Texture

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20576
    aecroft
    Participant

      Hi,

      I had a scene set up using the Unity tutorials for rendering a video onto a game object as a render texture (see: https://www.youtube.com/watch?v=KG2aq_CY7pU) The render mode of the video player is set to Render Texture and the game object is given a material where the emission colour and albedo draws from that render texture created for the video.

      This set up worked fine with timeline and Cinemachine but in Slate I am running into the error:

      null texture passed to GUI.DrawTexture
      UnityEngine.GUI:DrawTexture(Rect, Texture)
      Slate.HierarchyIcons:ShowIcons(Int32, Rect) (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Other/HierarchyIcons.cs:32)
      UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

      I can see the videos playing in the Slate timeline but not in Gameview.

      What am I missing? I’m just learning Slate now so it could be super obvious.

      Thanks!

      Amy

      #20577
      Gavalakis
      Keymaster

        Hello Amy,

        Can you please share the screenshot of the Cutscene in Slate where you are using your Video Player gameobject? (It’s not part of your screenshot)
        I can’t tell from the image how are you using Slate to “interact” with the video player, or the exact setup you have there as far as Slate goes 🙂
        The error logged (although Slate related) seems a bit irrelevant with the video player or the problem you are facing.
        Better yet, if possible for you, can you please send me the scene/project so that I can take a better look at your setup and usage to “support_AT_paradoxnotion.com”? If so that would be great!

        Please let me know.
        Thank you.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.