HDRP Camera ViewportRect broken?

I converted my project into HDRP and stumbled on an issue with one of my cameras.

It seems that the camera settings viewport Rect no longer render on the designated part of the screen.
Now it renders the filled in Cordinates and project thats over the whole screen.

Am i doing something wrong here?

Hi,

For the moment the viewport rect is not supported in HDRP (but planned).
As a workaround you can use a render texture to mimic this functionality.

Anyone know when they are going to fix this problem?

2 Likes

Yes, I had the same problem. I’m rendering an isolated 3D object, so I got it to render in the corner by making the camera orthographic and setting the position of the object relative to the camera, but obviously that won’t work for everyone.

I have same prblem.
Please support viewport!!

Can the Unity devs give us any prediction on when a fix is expected? We’ve been trying to make do with render-to-texture workaround but that really affects quality. If we are going to have to switch back to the built in pipeline and re-balance everything for that I’d rather do it now.

Hi,

Anyone know when they are going to fix this problem?
it will be solve in 2019.1

1 Like

Hi, will this also include support for multi layered cameras or that is not planned to come back?

Hi, no multi layered camera will not be allowed with LW or HD.

1 Like

Please can someone explain what the alternative to multi camera is and how it works?

1 Like

I’ve noticed the HDRP changelog has now reached 6.0.0 preview but as far as I can tell I don’t think there is a fix yet. Does this mean we aren’t getting a fix in 2019.1? (As i understand it 6.x.x means 2019.2)

I tested 2019.1.0a14 and HDRP 5.2.3 with PPS 2.1.2 yesterday.
The Viewport rect problem is fixed.

2 Likes

Ah excellent! Yeah I just checked this and its working now. Woooo! Thanks Seb!

Maybe I missing something, but it does not work for me neither in 2019.2.0a7 nor in 2019.1beta

4314244--388285--upload_2019-3-13_11-14-9.png

EDIT: After updating HDRP to version 5.7.2 everything works as expected :slight_smile:
EDIT2: BUT, if I change background type of one of the cameras to none,
I get this:
4314244--388546--BackgroundTypeNone.png
As I understand multi-layered cameras will not be supported by HDRP?

Have you found an alternative yet?

Im staying on classic renderer for now.

So any alternatives? Mainly I need the multi layers to be able to draw an UI on left and right side of a stereoscopic 3D screen… the other (very unfavorable) option is to copy the entire UI and sync objects through script (which is a lot of specific work for each type of UI element)

p.s. I’ve made a bug post about this if interested (no comments so far at all tho…)
https://github.com/Unity-Technologies/PostProcessing/issues/852

Worse problem is that I can’t change any of the “Physical” settings for the HD Camera component and get any feedback. NOTHING changes. WTF?

As far as I know, many features are related to post processing volume and they have to be enabled, there is an option to use physical camera properties, and for the field of view there is another toggle somewhere to use that instead of given angle