I am trying to set up a sky in my script using
bpy.context.scene.world.use_sky_paper = True which results in the following error:
AttributeError: 'NoneType' object has no attribute 'use_sky_paper'
None? Is there some setup required for the
I encountered a similar problem, when trying to see which area is active via
bpy.context.area is always
None when running script headless.