Description

deleting the code "&& SimulationStages[i]->bEnabled" in UNiagaraEmitter::GetScripts will bypass the problem [Image Removed]

Steps to Reproduce

1、create a niagara system with a directional burst emitter

2、change the Sim Target to GPUCompute Sim and enable Fixed Bounds of the system

3、enable  Simulation Stage and add a Generic Simulation Stage, then add a Dynamic Material Parameters 

4、deactive the Stage just added

5、compile and save the asset, then reopen it

Callstack

UE4Editor-NiagaraEditor.dll!FNiagaraStackFunctionInputBinder::RefreshGraphPins() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\NiagaraStackFunctionInputBinder.cpp:310]
UE4Editor-NiagaraEditor.dll!FNiagaraStackFunctionInputBinder::TryBindInternal() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\NiagaraStackFunctionInputBinder.cpp:119]
UE4Editor-NiagaraEditor.dll!FNiagaraStackFunctionInputBinder::TryBind() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\NiagaraStackFunctionInputBinder.cpp:72]
UE4Editor-NiagaraEditor.dll!FNiagaraStackFunctionInputCondition::Refresh() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackFunctionInputCondition.cpp:43]
UE4Editor-NiagaraEditor.dll!UNiagaraStackFunctionInput::RefreshFromMetaData() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackFunctionInput.cpp:913]
UE4Editor-NiagaraEditor.dll!UNiagaraStackFunctionInput::RefreshChildrenInternal() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackFunctionInput.cpp:492]
UE4Editor-NiagaraEditor.dll!UNiagaraStackEntry::RefreshChildren() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackEntry.cpp:572]
UE4Editor-NiagaraEditor.dll!UNiagaraStackEntry::RefreshChildren() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackEntry.cpp:594]
UE4Editor-NiagaraEditor.dll!UNiagaraStackEntry::RefreshChildren() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackEntry.cpp:594]
UE4Editor-NiagaraEditor.dll!UNiagaraStackEntry::RefreshChildren() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackEntry.cpp:594]
UE4Editor-NiagaraEditor.dll!UNiagaraStackEntry::RefreshChildren() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackEntry.cpp:594]
UE4Editor-NiagaraEditor.dll!UNiagaraStackEntry::RefreshChildren() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackEntry.cpp:594]
UE4Editor-NiagaraEditor.dll!UNiagaraStackViewModel::InitializeWithViewModels() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\Stack\NiagaraStackViewModel.cpp:106]
UE4Editor-NiagaraEditor.dll!FNiagaraEmitterHandleViewModel::Initialize() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\NiagaraEmitterHandleViewModel.cpp:110]
UE4Editor-NiagaraEditor.dll!FNiagaraSystemViewModel::RefreshEmitterHandleViewModels() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\NiagaraSystemViewModel.cpp:1174]
UE4Editor-NiagaraEditor.dll!FNiagaraSystemViewModel::RefreshAll() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\NiagaraSystemViewModel.cpp:1050]
UE4Editor-NiagaraEditor.dll!FNiagaraSystemViewModel::Initialize() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\ViewModels\NiagaraSystemViewModel.cpp:122]
UE4Editor-NiagaraEditor.dll!FNiagaraSystemToolkit::InitializeWithSystem() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\Toolkits\NiagaraSystemToolkit.cpp:212]
UE4Editor-NiagaraEditor.dll!FAssetTypeActions_NiagaraSystem::OpenAssetEditor() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\AssetTypeActions\AssetTypeActions_NiagaraSystem.cpp:23]
UE4Editor-UnrealEd.dll!UAssetEditorSubsystem::OpenEditorForAsset() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Editor\UnrealEd\Private\Subsystems\AssetEditorSubsystem.cpp:363]
UE4Editor-UnrealEd.dll!UAssetEditorSubsystem::OpenEditorForAssets_Advanced() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Editor\UnrealEd\Private\Subsystems\AssetEditorSubsystem.cpp:437]
UE4Editor-UnrealEd.dll!UAssetEditorSubsystem::OpenEditorForAssets() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Editor\UnrealEd\Private\Subsystems\AssetEditorSubsystem.cpp:553]
UE4Editor-ContentBrowserAssetDataSource.dll!ContentBrowserAssetData::EditOrPreviewAssetFileItems() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\Editor\ContentBrowser\ContentBrowserAssetDataSource\Source\ContentBrowserAssetDataSource\Private\ContentBrowserAssetDataCore.cpp:287]
UE4Editor-ContentBrowserAssetDataSource.dll!ContentBrowserAssetData::EditOrPreviewItems() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\Editor\ContentBrowser\ContentBrowserAssetDataSource\Source\ContentBrowserAssetDataSource\Private\ContentBrowserAssetDataCore.cpp:307]
UE4Editor-ContentBrowserAssetDataSource.dll!UContentBrowserAssetDataSource::BulkEditItems() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Plugins\Editor\ContentBrowser\ContentBrowserAssetDataSource\Source\ContentBrowserAssetDataSource\Private\ContentBrowserAssetDataSource.cpp:932]
UE4Editor-ContentBrowser.dll!SContentBrowser::OnItemsActivated() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Editor\ContentBrowser\Private\SContentBrowser.cpp:2238]
UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl(TArrayView<FContentBrowserItem const ,int>,enum EAssetTypeActivationMethod::Type),FDefaultDelegateUserPolicy>::Execute() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:290]
UE4Editor-ContentBrowser.dll!SAssetView::OnListMouseButtonDoubleClick() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Editor\ContentBrowser\Private\SAssetView.cpp:3455]
UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl(TSharedPtr<FAssetViewItem,0>),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
UE4Editor-ContentBrowser.dll!TDelegate<void __cdecl(TSharedPtr<FAssetViewItem,0>),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:599]
UE4Editor-ContentBrowser.dll!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemDoubleClicked() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Slate\Public\Widgets\Views\SListView.h:1074]
UE4Editor-ContentBrowser.dll!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonDoubleClick() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Slate\Public\Widgets\Views\STableRow.h:458]
UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_2b5148752c2a272000c47b69ff14a42e> >() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:378]
UE4Editor-Slate.dll!FSlateApplication::RoutePointerDoubleClickEvent() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5281]
UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonDoubleClickEvent() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5268]
UE4Editor-Slate.dll!FSlateApplication::OnMouseDoubleClick() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5231]
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2178]
UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2638]
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1042]
UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:874]
USER32.dll!UnknownFunction []
USER32.dll!UnknownFunction []
UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:130]
UE4Editor.exe!FEngineLoop::Tick() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4748]
UE4Editor.exe!GuardedMain() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
UE4Editor.exe!GuardedMainWrapper() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor.exe!WinMain() [A:\yangke.li_DESKTOP-SR80039_3_426\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

1
Login to Vote

Cannot Reproduce
ComponentUE - Niagara
Affects Versions4.26.1
Target Fix4.27
CreatedFeb 6, 2021
ResolvedMay 31, 2021
UpdatedJun 1, 2021
View Jira Issue