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

Question [URP][Vulkan][Quest] Can't seem to Blit

Discussion in 'Universal Render Pipeline' started by PelvisParsley, Jul 27, 2022.

  1. PelvisParsley

    PelvisParsley

    Joined:
    Aug 9, 2016
    Posts:
    89
    I want to do a simple CommandBuffer.Blit with a material onto the camera texture. It works in the scene view but doesn't work in build. This is what I'm doing in a custom render feature:

    Code (CSharp):
    1. cmd.Blit(BuiltinRenderTextureType.CameraTarget, tempTarget);
    2. cmd.Blit(tempTarget, BuiltinRenderTextureType.CameraTarget, _ssMaterial);
    This is called right before camera clean up, but it has strange and undefined behavior in game view and in build, both different. But it works as expected in the scene view. Any ideas?
     
  2. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    What URP version are you on?
     
  3. PelvisParsley

    PelvisParsley

    Joined:
    Aug 9, 2016
    Posts:
    89
    12.1.7, Unity version 2021.3.5 LTS