Page MenuHome

Eevee - crash when empty is set as camera and motion blur is on
Open, Confirmed, MediumPublic

Description

System Information
Operating system: Windows-10-10.0.16299 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67

Blender Version
Broken: version: 2.81 (sub 0), branch: master, commit date: 2019-07-29 20:43, hash: rB1178046ed222

Exact steps for others to reproduce the error

  • Open file:

  • Switch to rendered or lookdev mode
  • Try to set selected empty as camera (ctrl+0)
  • Crash

Happens only when motion blur is on. Happens in RC3 too.

Details

Type
Bug

Event Timeline

can confirm this bug on linux Blender 2.81-daa7b5689017 AMD FX8350, 16GB DDR3, GTX690 2+2 GB VRam- Nvidia drivers 430.34

Sybren A. Stüvel (sybren) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.Jul 30 2019, 5:20 PM

Confirmed; it's caused by Camera camdata_cpy = *(Camera *)(camera->data); in eevee_motion_blur_camera_get_matrix_at_time().

The code should check whether camera->data is NULL and check whether camera->type == OB_CAMERA before casting. Not sure what the proper value of r_mat would be in that case, though, so I leave it to a more nowledgeable EEVEE developer to provide a fix.