Python crashes when rendering with Workbench or Eevee

Hi,

I managed to build and use blender as a python module (Blender 2.80 with Python 3.7). However, when rendering a scene with Workbench or Eevee I get the following Python Error:

Process finished with exit code -1073741819 (0xC0000005)

Rendering with Cycles works perfectly. Rendering via Python from within blender works with all engines.

import bpy
bpy.ops.wm.open_mainfile(filepath="XPPU_2.blend")
bpy.context.scene.render.engine = 'BLENDER_WORKBENCH' #Not working
#bpy.context.scene.render.engine = 'CYCLES' #Working
bpy.context.scene.render.image_settings.file_format = "AVI_RAW"
bpy.context.scene.render.filepath = "//result.avi"
bpy.ops.render.render(animation=True)

Thanks for your help!

I’m experiencing the same! Blender 2.80, python 3.7 on Ubuntu 18.04, rendering with Workbench or Eevee gives me a Segmentation Fault. Cycles works just fine.

Any help greatly appreciated :pray:t3: