Per Licensee:
Hello, We are migrating our project from 4.18 to 4.19.2 and we are encountering various crashes while opening our material and material functions. I'm adding a simple test case here. Just tested on vanilla 4.19.2 and it crashes just like in our customized build of unreal engine. link text
To repro one of the crash (maybe they are all related) just open layer_simple material function. The issue seems to be related to vertex interpolator node and the new ParameterInfo structure. Is this issue known? This is quite critical for us at the moment.. we need to migrate our next project as soon as possible. Thank you very much
Result: Crash
LoginId:77ac66cf4b506a51a458c382c4ec63c2
EpicAccountId:5caf2c99925243e8b9b1bdcc9cd0e6cf
Assertion failed: ParameterOwnerStack.Num() [Link Removed] [Line: 1912]
UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
UE4Editor_Engine!FHLSLMaterialTranslator::ScalarParameter() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\hlslmaterialtranslator.h:2248]
UE4Editor_Engine!UMaterialExpressionScalarParameter::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialexpressions.cpp:6134]
UE4Editor_Engine!FHLSLMaterialTranslator::CallExpression() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\hlslmaterialtranslator.h:2004]
UE4Editor_Engine!FExpressionInput::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialshared.cpp:106]
UE4Editor_Engine!UMaterialExpressionFunctionInput::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialexpressions.cpp:11318]
UE4Editor_Engine!FHLSLMaterialTranslator::CallExpression() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\hlslmaterialtranslator.h:2004]
UE4Editor_Engine!FExpressionInput::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialshared.cpp:106]
UE4Editor_Engine!UMaterialExpressionAppendVector::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialexpressions.cpp:4209]
UE4Editor_Engine!FHLSLMaterialTranslator::CallExpression() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\hlslmaterialtranslator.h:2004]
UE4Editor_Engine!FExpressionInput::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialshared.cpp:106]
UE4Editor_Engine!UMaterialExpressionDivide::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialexpressions.cpp:2497]
UE4Editor_Engine!FHLSLMaterialTranslator::CallExpression() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\hlslmaterialtranslator.h:2004]
UE4Editor_Engine!FExpressionInput::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialshared.cpp:106]
UE4Editor_Engine!UMaterialExpressionAdd::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialexpressions.cpp:2390]
UE4Editor_Engine!FHLSLMaterialTranslator::CallExpression() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\hlslmaterialtranslator.h:2004]
UE4Editor_Engine!FExpressionInput::Compile() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialshared.cpp:106]
UE4Editor_Engine!UMaterialExpressionVertexInterpolator::CompileInput() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialexpressions.cpp:14073]
UE4Editor_Engine!FHLSLMaterialTranslator::GatherCustomVertexInterpolators() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\hlslmaterialtranslator.h:339]
UE4Editor_Engine!FHLSLMaterialTranslator::GatherCustomVertexInterpolators() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\hlslmaterialtranslator.h:360]
UE4Editor_Engine!FHLSLMaterialTranslator::Translate() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\hlslmaterialtranslator.h:511]
UE4Editor_Engine!FMaterial::BeginCompileShaderMap() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialshared.cpp:1819]
UE4Editor_Engine!FMaterial::CacheShaders() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialshared.cpp:1752]
UE4Editor_Engine!FMaterial::CacheShaders() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\materialshared.cpp:1634]
UE4Editor_Engine!UMaterial::CacheShadersForResources() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\material.cpp:2943]
UE4Editor_Engine!UMaterial::CacheResourceShadersForRendering() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\material.cpp:2861]
UE4Editor_Engine!UMaterial::PostEditChangeProperty() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\materials\material.cpp:3945]
UE4Editor_CoreUObject!UObject::PostEditChange() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:333]
UE4Editor_MaterialEditor!FMaterialEditor::UpdatePreviewMaterial() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\materialeditor\private\materialeditor.cpp:1598]
UE4Editor_MaterialEditor!FMaterialEditor::InitMaterialEditor() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\materialeditor\private\materialeditor.cpp:656]
UE4Editor_MaterialEditor!FMaterialEditorModule::CreateMaterialEditor() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\materialeditor\private\materialeditormodule.cpp:222]
UE4Editor_AssetTools!FAssetTypeActions_MaterialFunction::OpenAssetEditor() [d:\build\++ue4+release-4.19+compile\sync\engine\source\developer\assettools\private\assettypeactions\assettypeactions_materialfunction.cpp:65]
UE4Editor_UnrealEd!FAssetEditorManager::OpenEditorForAsset() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\unrealed\private\toolkits\asseteditormanager.cpp:361]
UE4Editor_AssetTools!FAssetTypeActions_Base::AssetsActivated() [d:\build\++ue4+release-4.19+compile\sync\engine\source\developer\assettools\public\assettypeactions_base.h:52]
UE4Editor_ContentBrowser!SContentBrowser::OnAssetsActivated() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:2072]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,TTypeWrapper<void> __cdecl(TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type)>::Execute() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl(TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type)>::ExecuteIfSafe() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
UE4Editor_ContentBrowser!SAssetView::OnListMouseButtonDoubleClick() [d:\build\++ue4+release-4.19+compile\sync\engine\source\editor\contentbrowser\private\sassetview.cpp:3941]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,TTypeWrapper<void> __cdecl(TSharedPtr<FAssetViewItem,0>)>::Execute() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl(TSharedPtr<FAssetViewItem,0>)>::ExecuteIfSafe() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
UE4Editor_ContentBrowser!TBaseDelegate<void,TSharedPtr<FAssetViewItem,0> >::ExecuteIfBound() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:624]
UE4Editor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemDoubleClicked() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\public\widgets\views\slistview.h:809]
UE4Editor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonDoubleClick() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\public\widgets\views\stablerow.h:288]
UE4Editor_Slate!<lambda_eeb33fd1b480e3cad58a1531d90d2e14>::operator()() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5872]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_eeb33fd1b480e3cad58a1531d90d2e14> >() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:266]
UE4Editor_Slate!FSlateApplication::RoutePointerDoubleClickEvent() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5870]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDoubleClickEvent() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5857]
UE4Editor_Slate!FSlateApplication::OnMouseDoubleClick() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5833]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1730]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2172]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:889]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:726]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3263]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
UE4Editor!WinMain() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-59531 in the post.
2 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.19.2, 4.20 |
Target Fix | 4.20 |
Created | May 23, 2018 |
---|---|
Resolved | May 24, 2018 |
Updated | May 31, 2018 |