Path tracer denoiser: Render Settings panel shows the wrong state

A sublayer can turn the Path Tracing denoiser off without the Render Settings panel showing it. The panel shows the denoiser on, but the viewport output is clearly not denoised. Adding a stronger layer that explicitly sets omni:rtx:pt:denoising:enabled = 1 does re-enable denoising, but the results are different from a stage where no layer authors the denoiser at all.

I’ve included a sample file, steps to reproduce.

  1. open newStart.usd, enable path tracing, and verify Denoising is checked
  2. inserttestOff.usd as a sublayer
  3. check the denoising flag in the render settings & verify with viewport
  4. insert testOn.usd as a sublayer above testOff and verify with viewport.

I realize one solution here is “don’t leave render settings saved in sublayers,” but Kit saves render-settings changes to the current authoring layer by default. That makes it very easy to accidentally author a change like this into the wrong layer, and the Render Settings panel gives no sign that it happened.

PTDenoise.zip (5.4 MB)