Description

This is a regression tested in //UE4/Release-4.27 CL18319896.

Ensure thrown when applying a Linear Color User Exposed Variable in a Niagara Emitter.

Steps to Reproduce
  1. Create or open any project
  2. In the Content Browser create and open a new empty Niagara Emitter
  3. With the Emitter selected Click + sign next to Particle Update and add a Color variable
  4. Under Parameters click the + next to User Exposed then add a Linear Color
  5. Select the Color variable in the Emitter
  6. Drag and drop the Linear Color onto the Color variable in the Selection panel
  7. Click Save
  8. Observe the Output Log

Expected Results:
The Linear Color is applied without error

Actual Results:
An Ensure is thrown:

Script change ids didn't match after copying from editable emitter to original emitter.
Callstack
Error: === Handled ensure: ===
Error: 
Error: Ensure condition failed: (*MatchingEditableEmitterScriptPtr)->GetBaseChangeID() == EmitterScript->GetBaseChangeID() [File:D:\build\++UE5\Sync\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\Toolkits\NiagaraSystemToolkit.cpp] [Line: 1655]
Error: Script change ids didn't match after copying from editable emitter to original emitter.
Error: Stack: 
Error: [Callstack] 0x00007ffd50f6618c UnrealEditor-NiagaraEditor.dll!FNiagaraSystemToolkit::UpdateOriginalEmitter() [D:\build\++UE5\Sync\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\Toolkits\NiagaraSystemToolkit.cpp:1655]
Error: [Callstack] 0x00007ffd50f45def UnrealEditor-NiagaraEditor.dll!FNiagaraSystemToolkit::SaveAsset_Execute() [D:\build\++UE5\Sync\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\Toolkits\NiagaraSystemToolkit.cpp:1778]
Error: [Callstack] 0x00007ffd712bbcfc UnrealEditor-UnrealEd.dll!TBaseSPMethodDelegateInstance<0,FAssetEditorToolkit,1,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
Error: [Callstack] 0x00007ffd72ffb018 UnrealEditor-Slate.dll!FUICommandList::ExecuteAction() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:99]
Error: [Callstack] 0x00007ffd730dda8b UnrealEditor-Slate.dll!SToolBarButtonBlock::OnClicked() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\MultiBox\SToolBarButtonBlock.cpp:384]
Error: [Callstack] 0x00007ffd730c0c24 UnrealEditor-Slate.dll!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,1,FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:290]
Error: [Callstack] 0x00007ffd7315b90b UnrealEditor-Slate.dll!SButton::ExecuteOnClick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:464]
Error: [Callstack] 0x00007ffd73182cc6 UnrealEditor-Slate.dll!SButton::OnMouseButtonUp() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:389]
Error: [Callstack] 0x00007ffd72f24034 UnrealEditor-Slate.dll!<lambda_51e270ca99ea7ce852539efd04dd453f>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4961]
Error: [Callstack] 0x00007ffd72f06fc6 UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_51e270ca99ea7ce852539efd04dd453f> >() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:405]
Error: [Callstack] 0x00007ffd72f802de UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4947]
Error: [Callstack] 0x00007ffd72f691b1 UnrealEditor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5495]
Error: [Callstack] 0x00007ffd72f5d5dc UnrealEditor-Slate.dll!FSlateApplication::OnMouseUp() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5460]
Error: [Callstack] 0x00007ffdcafda92e UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2210]
Error: [Callstack] 0x00007ffdcafc9247 UnrealEditor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2699]
Error: [Callstack] 0x00007ffdcafdce51 UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1078]
Error: [Callstack] 0x00007ffdcafc49a7 UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:916]
Error: [Callstack] 0x00007ffe09455c0d USER32.dll!UnknownFunction []
Error: [Callstack] 0x00007ffe094558de USER32.dll!UnknownFunction []
Error: [Callstack] 0x00007ffd459166f2 InkObj.dll!UnknownFunction []
Error: [Callstack] 0x00007ffdd0c21028 atlthunk.dll!UnknownFunction []
Error: [Callstack] 0x00007ffe09455c0d USER32.dll!UnknownFunction []
Error: [Callstack] 0x00007ffe09455602 USER32.dll!UnknownFunction []
Error: [Callstack] 0x00007ffdcafde148 UnrealEditor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:138]
Error: [Callstack] 0x00007ff7485b7114 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5139]
Error: [Callstack] 0x00007ff7485d0d9c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
Error: [Callstack] 0x00007ff7485d0e8a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
Error: [Callstack] 0x00007ff7485d3c4d UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
Error: [Callstack] 0x00007ff7485e5534 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
Error: [Callstack] 0x00007ff7485e86e6 UnrealEditor.exe!__scrt_common_main_seh() [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
Error: [Callstack] 0x00007ffe08eb7c24 KERNEL32.DLL!UnknownFunction []
Error: [Callstack] 0x00007ffe0abed721 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-153314 in the post.

1
Login to Vote

Cannot Reproduce
ComponentUE - Niagara
Affects Versions5.0.1
Target Fix5.3
Fix Commit26434682
CreatedMay 20, 2022
ResolvedJul 18, 2023
UpdatedJul 18, 2023
View Jira Issue