Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug HDRP / VR 2022.3.6f1 Issue with Video Player (only on Build)

Discussion in 'High Definition Render Pipeline' started by baggyg, Nov 6, 2023.

  1. baggyg

    baggyg

    Joined:
    Nov 21, 2013
    Posts:
    27
    Much like my other report about the RenderTexture, this is an issue that only occurs when I do a build on 2022.3.6f1. its absolutely fine with the in-editor play mode and 2021.3 (builds and editor).

    Pretty standard Rendering to a "material override" on the _EmissiveColorMap.

    Looks perfect in the editor, in a build it shows a very stranger small image that looks as if its miles away in the distance. Sometimes seems to follow your view. Unclear as to what it is actually showing.

    upload_2023-11-6_23-57-34.png

    upload_2023-11-7_0-1-2.png
     
  2. baggyg

    baggyg

    Joined:
    Nov 21, 2013
    Posts:
    27
    Update on this... the video is definitely playing its just very small. When you are close you can see that when you move your head to the right, the small video goes over to the left and vice versa / up / down.

    It seems even thought this is supposed to be rendering to a Material it has some element of headtracking from VR.

    Anyone any ideas how to stop this? (or at least replicate in-editor)?
     
  3. baggyg

    baggyg

    Joined:
    Nov 21, 2013
    Posts:
    27
    Looks very similar to when you set the video player to "Camera_Far" rendering but only shown on the material.