It is possible to cause an editor crash when changing a the value of a node involved with a reentrant expression. See the steps to reproduce for more information.
Specifically, the crash occurs when changing a value on the node itself, but not when changing the same value via the details panel when the node is selected.
As a side note, as the attached images show, it is possible to create a reentrant expression that doesn't cause a material compilation error due to the output of a material function being completely independent of the input. This crash will occur regardless of whether or not the compilation error is thrown, but it is slightly more egregious for the crash to occur without being told about the reentrant expression by the editor.
Unhandled Exception: EXCEPTION_STACK_OVERFLOW
UnrealEditor_UnrealEd!UObjectBaseUtility::IsA<UMaterialGraphNode>() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectBaseUtility.h:620]
UnrealEditor_UnrealEd!UMaterialGraphNode::PropagatePropertyChange() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\MaterialGraphNode.cpp:835]
UnrealEditor_UnrealEd!UMaterialGraphNode::PropagatePropertyChange() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\MaterialGraphNode.cpp:831]
UnrealEditor_UnrealEd!UMaterialGraphNode::PropagatePropertyChange() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\MaterialGraphNode.cpp:831]
UnrealEditor_UnrealEd!UMaterialGraphNode::PropagatePropertyChange() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\MaterialGraphNode.cpp:831]
... (repeating for over 8000 lines)
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-226151 in the post.
0 |
Component | UE - Rendering Architecture - Materials |
---|---|
Affects Versions | 5.4, 5.4.4 |
Target Fix | 5.5 |
Fix Commit | 36302328 |
---|
Created | Oct 1, 2024 |
---|---|
Resolved | Oct 4, 2024 |
Updated | Oct 7, 2024 |