Page MenuHome

Crash on enter Cycles render preview with Scene world disabled and world not assign to scene.
Closed, ResolvedPublic

Description

System Information
Operating system: Linux-4.15.0-65-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.116

Blender Version
Broken: version: 2.81 (sub 13), branch: master, commit date: 2019-10-04 22:33, hash: rBab519b91b2c4
Worked: 2.80

Short description of error
Blender crashes on enter render preview in specific scene.

  • Scene is empty.
  • "Scene world" is active in Viewport shading settings.
  • World is not assigned:

  • if "Scene world" is not active in Viewport shading settings, Blender will not crash
  • Also EEVEE doesn't crashes.

Exact steps for others to reproduce the error

  • Open file.

  • Switch to render preview -> Crash
  • Switch to EEVEE, when render preview -> all fine
  • Switch to EEVEE, when render preview, when click on "Scene world", when go back to Cycles -> all fine
  • Add world to scene -> all fine

From scratch:

  • New file
  • Render engine - Cycles
  • Remove world from scene
  • Enter render preview
  • Disable on "Scene world"

Event Timeline

Michael Soluyanov (crantisz) renamed this task from Crash on enter Cycles render preview with Scene world disabled. to Crash on enter Cycles render preview with Scene world disabled and world not assign to scene..Sun, Oct 6, 12:33 AM
Michael Soluyanov (crantisz) updated the task description. (Show Details)
Michael Soluyanov (crantisz) updated the task description. (Show Details)
Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.Mon, Oct 7, 10:22 AM

Can confirm, checking... seems code in BlenderSync::sync_world still relies on a blender world (mixes the background color with the viewport color), will have a look.
[eeve seems to pick the theme color as a fallback if no world is present? maybe cycles should do this as well -- or just black...]