Page MenuHome

Crash when editing fluid domain after added to a new collection all using python API
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 4400 Intel 4.3.0 - Build 20.19.15.4642

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: rB77d23b0bd76f
Worked: (optional)

Short description of error
[when one runs a script that creates a fluid domain and moves it to a new collection, blender freezes, or when editing the domain property's or editing the object its self, blender Crashes]

Exact steps for others to reproduce the error
[run this script

import bpy
area = bpy.context.area.ui_type
bpy.context.area.ui_type = 'VIEW_3D'
bpy.ops.mesh.primitive_cube_add(size=2, enter_editmode=False, location=(0, 0, 0))
bpy.ops.object.modifier_add(type='FLUID')
bpy.context.object.modifiers["Fluid"].fluid_type = 'DOMAIN'
bpy.ops.object.move_to_collection(collection_index=0, is_new=True, new_collection_name="Fluid")
bpy.context.area.ui_type = area

then edit the object that was created or change a fluid domain setting]
[Based on the default startup]

Event Timeline

Reston Stanton (ImaginationStrikes) renamed this task from Crash when editing fluid domain to a new collection all using python API to Crash when editing fluid domain after added to a new collection all using python API.Feb 20 2020, 1:36 AM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

I can confirm. These are the messages that appear on the console:

Info: Cube.001 moved to Fluid
Aborting: can't clean grid cache, some grids are still in use
Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Feb 21 2020, 7:24 PM