Maniphest T98028

Animated properties of View Layers are not updated when View Layer is not Active
Confirmed, NormalBUG

Assigned To
None
Authored By
Tiogshi Laj (tiogshi)
May 10 2022, 11:59 PM
Tags
  • BF Blender
  • Render & Cycles
  • Render Pipeline
Subscribers
Omar Emara (OmarSquircleArt)
Tiogshi Laj (tiogshi)

Description

System Information
Operating system: Windows 10, x64
Graphics card: nVidia GTX 1660

Blender Version
Broken: 3.1.0; 3.1.2; and 3.3.0-alpha (08a39d32)
Worked: none

Short description of error
I'm compositing separate View Layers of a single scene. To reduce render times, I want to not render View Layers which are currently completely hidden, so I'm animating the "Use for Rendering" property of some View Layers.

When rendering, it always works as expected... but in the editor, it seems that View Layers which are not the active workspace view layer do not update their animated properties when I move around on the timeline.

Exact steps for others to reproduce the error

  1. Open attached bugreport-useforrender.blend
    • There is one Scene, "Scene". There are two View Layers, "View A" and "View B".
    • Collection "Common" has a camera and light. Collection "Layer A" has a Cube. Collection "Layer B" has a Suzanne/monkey.
  2. Set View Layer "View A" as active (it should be already in the example file).
    • Observe the active collections. "View A" includes only the "Common" and "Layer A" collections, thus including the cube, camera, and light.
    • Observe the Graph pane and Properties pane. View A is used for rendering from frames 1 to 60, and not used for rendering from frames 61 to 120.
  3. Seek to a frame before 60. Render a frame with F12. Observe the monkey and the cube, as expected.
  4. Seek to a frame after 60. Render a frame with F12. Observe only the monkey, as expected.
  5. Set View Layer "Layer B" as active, while still on a frame after 60.
    • Observe the active collections. "View B" includes only the "Common" and "Layer B" collections, thus including the monkey, camera, and light.
  6. Seek to a frame after 60. Render a frame with F12. Observe only the monkey, as expected.
  7. Seek to a frame before 60. Render a frame with F12. Observe only the monkey, but both a monkey and cube was expected.
  8. Set View Layer "Layer A" as active, without changing the current frame.
  9. Render a frame with F12. Observe the monkey and the cube, as expected, but not as consistent with a moment ago.
  10. With either View Layer active, render the whole animation with Ctrl+F12. The resulting animation is always rendered as expected.

Related Objects

Mentioned In
T101937: "Render Single Layer" doesn't respect "Use for Rendering" keying
Mentioned Here
rB08a39d32a988: Merge branch 'blender-v3.2-release'

Event Timeline

Tiogshi Laj (tiogshi) created this task.May 10 2022, 11:59 PM
Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Confirmed.May 11 2022, 9:17 AM
Omar Emara (OmarSquircleArt) added projects: Render & Cycles, Render Pipeline.
Omar Emara (OmarSquircleArt) added a subscriber: Omar Emara (OmarSquircleArt).

It seems the render pipeline doesn't update the view layer animations before rendering them. I can see some comments about that, so this is probably what should happen.

Brecht Van Lommel (brecht) changed the subtype of this task from "Report" to "Bug".May 13 2022, 7:20 PM