I am struggling to find out the source of the segmentation fault I get when I try to load a file from a Python script (specifically a production shot of Charge). I try to call:
blender -b --python script.py
where the script contains:
import bpy
bpy.ops.wm.open_mainfile(filepath=path_to_file)
On the other hand, I can do:
blender -b path_to_file -o outfile
without issues.
I am honestly lacking an idea of what may cause this discrepancy.