Page MenuHome

Crash on opening a file with a View Layer active which is not the first in the scene enumeration
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: Quadro P4000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.96

Blender Version
Broken: version: 2.80 (sub 60), branch: master, commit date: 2019-05-03 16:53, hash: rBf999c40d77f3, ID that breaks Blender: c5fe16e1
Worked: b4e1e094

Short description of error

When creating a new View Layer and saving the file while that View Layer is active, Blender crashes on reloading that file. I have identified that this was introduced in commit c5fe16e1 - the one before worked. Hope @Sergey Sharybin (sergey) doesn't mind if I assign this to you directly? Both commits have been yours, so you might understand what's happening here.

Exact steps for others to reproduce the error

  • Open Blender using factory settings
  • Create a new View Layer
  • save the file
  • reload the file ---> ACCESS VIOLATION

I have attatched such a file here:

Revisions and Commits