From f3d58ebb5bb7a82fc25e67f5e0625949941c517f Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 25 Jun 2025 08:30:39 +0200 Subject: [PATCH] Fix: Geometry Nodes: crash with missing linked data-block Geometry nodes can't be evaluated when the node tree is not available. This never worked before and the modifier evaluation was "cancelled" later on before already. However, new code in the modifier evaluation requires the modifier to be cancelled earlier already which is what this patch does. Pull Request: https://projects.blender.org/blender/blender/pulls/140923 --- source/blender/modifiers/intern/MOD_nodes.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index 82d62de5c01..1b3c7b61413 100644 --- a/source/blender/modifiers/intern/MOD_nodes.cc +++ b/source/blender/modifiers/intern/MOD_nodes.cc @@ -1819,6 +1819,9 @@ static void modifyGeometry(ModifierData *md, } NodesModifierData *nmd_orig = reinterpret_cast( BKE_modifier_get_original(ctx->object, &nmd->modifier)); + if (ID_MISSING(nmd_orig->node_group)) { + return; + } nodes::PropertiesVectorSet properties = nodes::build_properties_vector_set( nmd->settings.properties);