Description

Crash when creating a Niagara Emitter

Another CrashReport: [Link Removed]

Not sure if regression because the process to enable Niagara in 4.15 seems to be different than in 4.16, and I'm not sure what that is. Can research if needed.

Steps to Reproduce
  1. Have 4.16 build
  2. enable Niagara (Engine/Config/BaseEngine.ini > find "EnableNiagara" and set it to "true". Save the file.)
  3. open the editor to any project
  4. right-click in the Content Browser > Niagara > Niagara Emitter
  5. press Enter when it prompts you to name the asset

Result: Crash

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_ShaderFormatVectorVM!ir_scalarize_visitor2::visit_enter() [ir_vm_scalarize_visitor.cpp:418]
UE4Editor_ShaderFormatVectorVM!ir_assignment::accept()
UE4Editor_ShaderFormatVectorVM!ir_function_signature::accept()
UE4Editor_ShaderFormatVectorVM!ir_function::accept()
UE4Editor_ShaderFormatVectorVM!visit_list_elements()
UE4Editor_ShaderFormatVectorVM!ir_scalarize_visitor2::run() [ir_vm_scalarize_visitor.cpp:584]
UE4Editor_ShaderFormatVectorVM!FVectorVMCodeBackend::GenerateCode() [vectorvmbackend.cpp:94]
UE4Editor_ShaderFormatVectorVM!FHlslCrossCompilerContext::Run()
UE4Editor_ShaderFormatVectorVM!CompileShader_VectorVM() [vectorvmshadercompiler.cpp:123]
UE4Editor_NiagaraEditor!FHlslNiagaraCompiler::CompileScript() [niagaracompiler.cpp:1085]
UE4Editor_NiagaraEditor!FNiagaraEditorModule::CompileScript() [niagaracompiler.cpp:568]
UE4Editor_NiagaraEditor!UNiagaraScriptFactoryNew::InitializeScript() [niagarascriptfactory.cpp:87]
UE4Editor_NiagaraEditor!UNiagaraEmitterFactoryNew::FactoryCreateNew() [niagaraemitterfactorynew.cpp:43]
UE4Editor_UnrealEd!UFactory::FactoryCreateNew() [factory.h:75]
UE4Editor_AssetTools!FAssetTools::CreateAsset() [assettools.cpp:430]
UE4Editor_ContentBrowser!SAssetView::CreateAssetFromTemporary() [sassetview.cpp:3437]
UE4Editor_ContentBrowser!SAssetView::AssetRenameCommit() [sassetview.cpp:3913]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl() [delegateinstancesimpl.h:434]
UE4Editor_ContentBrowser!SAssetViewItem::HandleNameCommitted() [assetviewwidgets.cpp:559]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetTileItem,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetTileItem,0,void __cdecl() [delegateinstancesimpl.h:434]
UE4Editor_Slate!TBaseDelegate<void,FText const & __ptr64,enum ETextCommit::Type>::ExecuteIfBound() [delegatesignatureimpl.inl:624]
UE4Editor_Slate!SInlineEditableTextBlock::OnTextBoxCommitted() [sinlineeditabletextblock.cpp:305]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,void __cdecl() [delegateinstancesimpl.h:434]
UE4Editor_Slate!TBaseDelegate<void,FText const & __ptr64,enum ETextCommit::Type>::ExecuteIfBound() [delegatesignatureimpl.inl:624]
UE4Editor_Slate!FSlateEditableTextLayout::HandleFocusLost() [slateeditabletextlayout.cpp:694]
UE4Editor_Slate!FSlateApplication::SetUserFocus() [slateapplication.cpp:2739]
UE4Editor_Slate!FSlateApplication::SetUserFocus() [slateapplication.cpp:2632]
UE4Editor_Slate!FSlateApplication::RoutePointerDownEvent() [slateapplication.cpp:4981]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDownEvent() [slateapplication.cpp:4898]
UE4Editor_Slate!FSlateApplication::OnMouseDown() [slateapplication.cpp:4816]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1712]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2127]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:867]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:714]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:980]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3058]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-44525 in the post.

0
Login to Vote

Cannot Reproduce
ComponentUE - Graphics Features
Affects Versions4.164.17
CreatedApr 28, 2017
ResolvedDec 21, 2017
UpdatedJul 14, 2021
View Jira Issue