2.82 Invoking Script Subprogram in a Group Subprogram Crashes Blender #77317
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#77317
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#77317, blender/blender#77323, blender/blender#77327 are the same issue
System Information (See attached)
Operating system: Windows 10
Graphics card:
Blender Version
Broken: system-info.txt
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:
...
fltWallsInnerDiameter = 1.2
fltResolution = 50.0
bpy.ops.mesh.primitive_plane_add(size=fltWallsInnerDiameter, \
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"
...
...
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.
.CymaNode21c.blend
Added subscriber: @Samsen
Closed as duplicate of blender/blender#77327