Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
baggyg's avatar
baggyg
Protege
1 year ago

Unity ASW URP Fork doesn't work with RenderTextures / Lit Shader

I'm using the Meta URP fork for ASW support (Unity 2022.3). I also have functionality in my game for taking an instant photo onto a RenderTexture. However when I do this the images I get seem to be showing the motion vectors and nothing else. 

Its definitely due to the fork as identical setup (Vulkan / Standalone build) worked perfectly before the switch over. PCVR / DX11 works fine either way. 

Is there any way to strip the motion data out of these or a way to force that particular camera to not do the motion vector pass? 

 

Also reported here with images: https://github.com/Oculus-VR/Unity-Graphics/issues/34

 

1 Reply

  • ferrous's avatar
    ferrous
    Honored Guest

    You could try disabling ASW for the frame for the screenshot?  Not exactly what you're looking for, but might be an okay workaround.