T77317, T77323, T77327 are the same issue
System Information (See attached)
Operating system: Windows 10
Graphics card:
Blender Version
Broken:
version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4caf4, type: Release
build date: 2020-03-12, 15:41:08
platform: Windows
Worked: (optional)
Short description of error
Based on the default startup or an attached .blend file (as simple as possible).
Because the Object Instancer Node cannot be executed within a Animation Nodes SubProgram I created two Python scripts that:
- Creates a plane from a mesh and add adds modifiers
...
fltWallsInnerDiameter = 1.2
fltResolution = 50.0
bpy.ops.mesh.primitive_plane_add(size=fltWallsInnerDiameter, \
enter_editmode=False, location=(0, 0, 0))
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.subdivide(number_cuts=fltResolution)
bpy.ops.object.editmode_toggle()
objWater = bpy.context.active_object
objWater.name = "Water"
...
- Create a cylinder from a mesh and adds modifiers
...
When I run either script manually, the objects are created just fine.
Whenever I try to invoke the python (script) subprogram within a Group SubProgram Blender crashes. And if I am able to save the .blend file, Blender crashes when I try to reload it.
The objects need to be created 'on the fly' based on dimensions that are user-provided. It is not clear why Blender will not run a python script that creates objects within a subprogram.
Exact steps for others to reproduce the error
To reproduce the error, in the attached file insert the pytWaterCreateRun subprogram into the Animation node, and run the animation. Blender just totally goes away.
.