-
Notifications
You must be signed in to change notification settings - Fork 344
Description
What is the issue?
Blender crashes during rendering or exporting animations implemented using Animation Nodes. The crash is not always reproducible, but it seems highly reproducible in certain cases. In particular, when Animation Nodes is adding/removing objects or altering object data such as meshes or splines.
Why haven't we fixed this issue yet?
The issue is caused by an upstream Blender bug, or rather, a design limitation. Consequently, there wasn't much we can do. However, we are currently looking into possible workarounds to mitigate the issue.
What can I do to render my animation?
To render your animation, you may try to use one of the following methods. Non of the methods are guaranteed to work, but they proved effective in many situations.
Background Render
You may try to render the animation in the background (Without the UI). To do so, execute blender from the terminal/console using the -b flag. For instance:
blender -b filename.blend -aFor more details and examples, see the Blender man page.
Render Individual Frames
You may try to render frames individually using the following script:
import bpy
scene = bpy.context.scene
render = scene.render
directory = render.filepath
for i in range(scene.frame_start, scene.frame_end):
scene.frame_set(i)
render.filepath = f"{directory}{i:05d}"
bpy.ops.render.render(write_still = True)
render.filepath = directory The script render frames from Start Frame to End Frame and saves them in the scene's file path directory.