mrayy/UnityCam

Does not work with Universal Render Pipeline

Opened this issue · 1 comments

To Reproduce:

  • Install the "Universal RP" asset using the Package Manager
  • Create a "Pipeline Asset (Forward Renderer)"
  • In Player Settings > Graphics assign the Pipeline Asset
  • Play.

There is no longer a webcam output.
There are also no errors.

There are different render pipline between build-in and urp.
Need change OnRenderImage workflow to ScriptableRenderPass.

Reference here:
https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnRenderImage.html

I uploaded hdrp version.
https://github.com/shinn716/UnityCam_HDRP