Description

When creating a blueprint class based on a C++ actor with a Niagara component, color curves will cause the editor to crash when compiling the blueprint. This will impact users creating their own classes if they want to have Niagara components defined in those C++ classes. 

Steps to Reproduce
  1. Create a new blueprint class
  2. Select NiagaraActor as the parent class
  3. Create a new Niagara system
  4. Add a color curve user parameter to it
  5. Set the blueprint actor's Niagara System Asset to the newly created system
  6. Compile the blueprint

RESULT

The editor crashes. If the blueprint is created based on an actor, and the component is added to the blueprint, the editor will not crash.

Callstack

Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000010

0x00007ff8603fa461 UE4Editor-NiagaraEditor.dll!FNiagaraComponentNodeBuilder::GenerateChildContent() [E:\_Release4.25\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\Customizations\NiagaraComponentDetails.cpp:166]
0x00007ff87c2254f9 UE4Editor-PropertyEditor.dll!FDetailCustomBuilderRow::OnGenerateChildren() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\DetailCustomBuilderRow.cpp:66]
0x00007ff87c1f55f0 UE4Editor-PropertyEditor.dll!FDetailItemNode::GenerateChildren() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\DetailItemNode.cpp:370]
0x00007ff87c1fa76c UE4Editor-PropertyEditor.dll!FDetailCategoryImpl::GenerateNodesFromCustomizations() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\DetailCategoryBuilderImpl.cpp:800]
0x00007ff87c1f7c09 UE4Editor-PropertyEditor.dll!FDetailCategoryImpl::GenerateChildrenForSingleLayout() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\DetailCategoryBuilderImpl.cpp:830]
0x00007ff87c1f5855 UE4Editor-PropertyEditor.dll!FDetailCategoryImpl::GenerateChildrenForLayouts() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\DetailCategoryBuilderImpl.cpp:855]
0x00007ff87c1fa3bf UE4Editor-PropertyEditor.dll!FDetailCategoryImpl::GenerateLayout() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\DetailCategoryBuilderImpl.cpp:1026]
0x00007ff87c1d13e5 UE4Editor-PropertyEditor.dll!FDetailLayoutBuilderImpl::BuildCategories() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\DetailLayoutBuilderImpl.cpp:243]
0x00007ff87c1f9423 UE4Editor-PropertyEditor.dll!FDetailLayoutBuilderImpl::GenerateDetailLayout() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\DetailLayoutBuilderImpl.cpp:310]
0x00007ff87c524bb5 UE4Editor-PropertyEditor.dll!SDetailsViewBase::UpdateSinglePropertyMap() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\SDetailsViewBase.cpp:400]
0x00007ff87c5231e7 UE4Editor-PropertyEditor.dll!SDetailsViewBase::UpdatePropertyMaps() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\SDetailsViewBase.cpp:362]
0x00007ff87c4fcad0 UE4Editor-PropertyEditor.dll!SDetailsView::PostSetObject() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\SDetailsView.cpp:918]
0x00007ff87c5191cf UE4Editor-PropertyEditor.dll!SDetailsView::SetObjectArrayPrivate() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\SDetailsView.cpp:678]
0x00007ff87c50d54a UE4Editor-PropertyEditor.dll!SDetailsView::ReplaceObjects() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\SDetailsView.cpp:763]
0x00007ff87c3f14c1 UE4Editor-PropertyEditor.dll!FPropertyEditorModule::ReplaceViewedObjects() [E:\_Release4.25\Engine\Source\Editor\PropertyEditor\Private\PropertyEditorModule.cpp:574]
0x00007ff87f44c8f7 UE4Editor-UnrealEd.dll!UEditorEngine::NotifyToolsOfObjectReplacement() [E:\_Release4.25\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:6131]
0x00007ff882dec79e UE4Editor-Engine.dll!UEngine::CopyPropertiesForUnrelatedObjects() [E:\_Release4.25\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:14406]
0x00007ff87f86d148 UE4Editor-UnrealEd.dll!FBlueprintCompileReinstancer::CopyPropertiesForUnrelatedObjects() [E:\_Release4.25\Engine\Source\Editor\UnrealEd\Private\Kismet2\KismetReinstanceUtilities.cpp:2372]
0x00007ff87e81fa19 UE4Editor-Kismet.dll!FBlueprintCompilationManagerImpl::ReinstanceBatch() [E:\_Release4.25\Engine\Source\Editor\Kismet\Private\BlueprintCompilationManager.cpp:2009]
0x00007ff87e7ccccf UE4Editor-Kismet.dll!FBlueprintCompilationManagerImpl::FlushCompilationQueueImpl() [E:\_Release4.25\Engine\Source\Editor\Kismet\Private\BlueprintCompilationManager.cpp:1358]
0x00007ff87e77633c UE4Editor-Kismet.dll!FBlueprintCompilationManagerImpl::CompileSynchronouslyImpl() [E:\_Release4.25\Engine\Source\Editor\Kismet\Private\BlueprintCompilationManager.cpp:263]
0x00007ff87e776081 UE4Editor-Kismet.dll!FBlueprintCompilationManager::CompileSynchronously() [E:\_Release4.25\Engine\Source\Editor\Kismet\Private\BlueprintCompilationManager.cpp:3036]
0x00007ff87f86867e UE4Editor-UnrealEd.dll!FKismetEditorUtilities::CompileBlueprint() [E:\_Release4.25\Engine\Source\Editor\UnrealEd\Private\Kismet2\Kismet2.cpp:754]
0x00007ff87e875f10 UE4Editor-Kismet.dll!FBlueprintEditor::Compile() [E:\_Release4.25\Engine\Source\Editor\Kismet\Private\BlueprintEditor.cpp:3474]
0x00007ff87e891b4e UE4Editor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl(void)>::ExecuteIfSafe() [E:\_Release4.25\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:374]
0x00007ff8a39c9168 UE4Editor-Slate.dll!FUICommandList::ExecuteAction() [E:\_Release4.25\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:102]
0x00007ff8a3ab3dc9 UE4Editor-Slate.dll!SToolBarButtonBlock::OnClicked() [E:\_Release4.25\Engine\Source\Runtime\Slate\Private\Framework\MultiBox\SToolBarButtonBlock.cpp:302]
0x00007ff8a3a93c07 UE4Editor-Slate.dll!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl(void)>::Execute() [E:\_Release4.25\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:298]
0x00007ff8a3b295ce UE4Editor-Slate.dll!SButton::ExecuteOnClick() [E:\_Release4.25\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:385]
0x00007ff8a3b4315e UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [E:\_Release4.25\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:304]
0x00007ff8a3983138 UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_cc5aea9e7377b04ce85c30c65ec3889b> >() [E:\_Release4.25\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:372]
0x00007ff8a3a13a2f UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [E:\_Release4.25\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4675]
0x00007ff8a39fb751 UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [E:\_Release4.25\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5198]
0x00007ff8a39ede52 UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [E:\_Release4.25\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5166]
0x00007ff8add478e8 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [E:\_Release4.25\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1963]
0x00007ff8add35497 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [E:\_Release4.25\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2415]
0x00007ff8add49cbb UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [E:\_Release4.25\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1639]
0x00007ff8add30f70 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [E:\_Release4.25\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:790]
0x00007ff8e9427446 USER32.dll!UnknownFunction []
0x00007ff8e9426f62 USER32.dll!UnknownFunction []
0x00007ff8add4b1d4 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [E:\_Release4.25\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:130]
0x00007ff6008e6894 UE4Editor.exe!FEngineLoop::Tick() [E:\_Release4.25\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4714]
0x00007ff6008fc00f UE4Editor.exe!GuardedMain() [E:\_Release4.25\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
0x00007ff6008fc0ea UE4Editor.exe!GuardedMainWrapper() [E:\_Release4.25\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
0x00007ff60090e809 UE4Editor.exe!WinMain() [E:\_Release4.25\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:266]
0x00007ff6009118ea UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ff8ebff7974 KERNEL32.DLL!UnknownFunction []
0x00007ff8ec1ba261 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-90218 in the post.

6
Login to Vote

Cannot Reproduce
ComponentUE - Niagara
Affects Versions4.244.25
Target Fix4.27
CreatedMar 6, 2020
ResolvedJun 2, 2021
UpdatedJul 23, 2021