Assertion thrown when connecting a World Position node to the time input of a Panner node then connecting it to Base Color. This is a regression.
Expected Results:
The connection is made and graph behaves as normal.
Actual Results:
Editor crashes with an Assertion:
Assertion failed: bAllowNonFloat [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\HLSLMaterialDerivativeAutogen.cpp] [Line: 156]
LogMaterial: Display: Missing cached shadermap for Preview:NewMaterial in PCD3D_SM5, Default, SM5 (DDC key hash: 488BF7361EC76065FFBD7AD213B79292648718D0), compiling. LogOutputDevice: Warning: Script Stack (0 frames): LogWindows: Windows GetLastError: The operation completed successfully. (0) LogWindows: Error: === Critical error: === LogWindows: Error: LogWindows: Error: Assertion failed: bAllowNonFloat [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\HLSLMaterialDerivativeAutogen.cpp] [Line: 156] LogWindows: Error: LogWindows: Error: LogWindows: Error: LogWindows: Error: [Callstack] 0x00007ffe55a719f0 UnrealEditor-Engine.dll!GetDerivType() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\HLSLMaterialDerivativeAutogen.cpp:156] LogWindows: Error: [Callstack] 0x00007ffe55a4f4df UnrealEditor-Engine.dll!FHLSLMaterialTranslator::AppendVector() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\HLSLMaterialTranslator.cpp:8176] LogWindows: Error: [Callstack] 0x00007ffe55aeade0 UnrealEditor-Engine.dll!UMaterialExpressionPanner::Compile() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialExpressions.cpp:5250] LogWindows: Error: [Callstack] 0x00007ffe55a5196f UnrealEditor-Engine.dll!FHLSLMaterialTranslator::CallExpression() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\HLSLMaterialTranslator.cpp:3607] LogWindows: Error: [Callstack] 0x00007ffe55b9957a UnrealEditor-Engine.dll!FExpressionInput::Compile() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp:262] LogWindows: Error: [Callstack] 0x00007ffe55b9ab39 UnrealEditor-Engine.dll!FColorMaterialInput::CompileWithDefault() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp:523] LogWindows: Error: [Callstack] 0x00007ffe55af5968 UnrealEditor-Engine.dll!UMaterial::CompilePropertyEx() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\Material.cpp:5035] LogWindows: Error: [Callstack] 0x00007ffe55b9a973 UnrealEditor-Engine.dll!UMaterialInterface::CompileProperty() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp:4143] LogWindows: Error: [Callstack] 0x00007ffe55af5603 UnrealEditor-Engine.dll!FMaterialResource::CompilePropertyAndSetMaterialProperty() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\Material.cpp:256] LogWindows: Error: [Callstack] 0x00007ffe55a9b875 UnrealEditor-Engine.dll!FHLSLMaterialTranslator::Translate() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\HLSLMaterialTranslator.cpp:779] LogWindows: Error: [Callstack] 0x00007ffe55bf379f UnrealEditor-Engine.dll!FMaterial::Translate_Legacy() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp:2353] LogWindows: Error: [Callstack] 0x00007ffe55b93132 UnrealEditor-Engine.dll!FMaterial::BeginCompileShaderMap() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp:2428] LogWindows: Error: [Callstack] 0x00007ffe55b951b3 UnrealEditor-Engine.dll!FMaterial::CacheShaders() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp:2309] LogWindows: Error: [Callstack] 0x00007ffe55b95642 UnrealEditor-Engine.dll!FMaterial::CacheShaders() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp:2151] LogWindows: Error: [Callstack] 0x00007ffe55ae22bb UnrealEditor-Engine.dll!UMaterial::CacheShadersForResources() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\Material.cpp:2251] LogWindows: Error: [Callstack] 0x00007ffe55ae1e6c UnrealEditor-Engine.dll!UMaterial::CacheResourceShadersForRendering() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\Material.cpp:2137] LogWindows: Error: [Callstack] 0x00007ffe55b3134e UnrealEditor-Engine.dll!UMaterial::PostEditChangePropertyInternal() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\Material.cpp:3677] LogWindows: Error: [Callstack] 0x00007ffe590f8086 UnrealEditor-CoreUObject.dll!UObject::PostEditChange() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:359] LogWindows: Error: [Callstack] 0x00007ffe4bb8fa3c UnrealEditor-MaterialEditor.dll!FMaterialEditor::UpdatePreviewMaterial() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditor.cpp:2398] LogWindows: Error: [Callstack] 0x00007ffe4bb8a4d6 UnrealEditor-MaterialEditor.dll!FMaterialEditor::UpdateMaterialAfterGraphChange() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditor.cpp:5637] LogWindows: Error: [Callstack] 0x00007ffe4bcf263b UnrealEditor-MaterialEditor.dll!FMaterialEditorUtilities::UpdateMaterialAfterGraphChange() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditorUtilities.cpp:128] LogWindows: Error: [Callstack] 0x00007ffe52a997eb UnrealEditor-UnrealEd.dll!UMaterialGraphSchema::TryCreateConnection() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\MaterialGraphSchema.cpp:621] LogWindows: Error: [Callstack] 0x00007ffe4b0da35d UnrealEditor-GraphEditor.dll!FDragConnection::DroppedOnPin() [D:\build\++UE5\Sync\Engine\Source\Editor\GraphEditor\Private\DragConnection.cpp:216] LogWindows: Error: [Callstack] 0x00007ffe4b22c0ae UnrealEditor-GraphEditor.dll!SGraphPin::OnDrop() [D:\build\++UE5\Sync\Engine\Source\Editor\GraphEditor\Private\SGraphPin.cpp:813] LogWindows: Error: [Callstack] 0x00007ffe540f3c5f UnrealEditor-Slate.dll!<lambda_471858b7e70a8b68bd65bc435c2a047c>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5003] LogWindows: Error: [Callstack] 0x00007ffe540d5910 UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_471858b7e70a8b68bd65bc435c2a047c> >() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:405] LogWindows: Error: [Callstack] 0x00007ffe541504e9 UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4998] LogWindows: Error: [Callstack] 0x00007ffe541391b1 UnrealEditor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5495] LogWindows: Error: [Callstack] 0x00007ffe5412d5dc UnrealEditor-Slate.dll!FSlateApplication::OnMouseUp() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5460] LogWindows: Error: [Callstack] 0x00007ffec847a92e UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2210] LogWindows: Error: [Callstack] 0x00007ffec8469247 UnrealEditor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2699] LogWindows: Error: [Callstack] 0x00007ffec847ce51 UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1078] LogWindows: Error: [Callstack] 0x00007ffec84649a7 UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:916] LogWindows: Error: [Callstack] 0x00007ffee56b5c0d USER32.dll!UnknownFunction [] LogWindows: Error: [Callstack] 0x00007ffee56b58de USER32.dll!UnknownFunction [] LogWindows: Error: [Callstack] 0x00007ffe2b1c66f2 InkObj.dll!UnknownFunction [] LogWindows: Error: [Callstack] 0x00007ffebb5f10b8 atlthunk.dll!UnknownFunction [] LogWindows: Error: [Callstack] 0x00007ffee56b5c0d USER32.dll!UnknownFunction [] LogWindows: Error: [Callstack] 0x00007ffee56b5602 USER32.dll!UnknownFunction [] LogWindows: Error: [Callstack] 0x00007ffec847e148 UnrealEditor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:138] LogWindows: Error: [Callstack] 0x00007ff6267b7114 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5139] LogWindows: Error: [Callstack] 0x00007ff6267d0d9c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:183] LogWindows: Error: [Callstack] 0x00007ff6267d0e8a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147] LogWindows: Error: [Callstack] 0x00007ff6267d3c4d UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283] LogWindows: Error: [Callstack] 0x00007ff6267e5534 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330] LogWindows: Error: [Callstack] 0x00007ff6267e86e6 UnrealEditor.exe!__scrt_common_main_seh() [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288] LogWindows: Error: [Callstack] 0x00007ffee4287c24 KERNEL32.DLL!UnknownFunction [] LogWindows: Error: [Callstack] 0x00007ffee58ed721 ntdll.dll!UnknownFunction []
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-149717 in the post.
3 |
Component | UE - Rendering Architecture - Materials |
---|---|
Affects Versions | 5.0.1 |
Target Fix | 5.1 |
Fix Commit | 21536987 |
---|
Created | Apr 20, 2022 |
---|---|
Resolved | Aug 24, 2022 |
Updated | Dec 2, 2022 |