Description

When using the new node " Create Asset (Interface Call)" there is a crash that is occurring that could possibly be due to the fact that no factory node is being set. The crash also occurs with the other "Create Asset Node"; however, the crash occurs when the asset attempts to open.

Versions Tested:
4.17.P3 - CL: 3552910
4.18 - CL: 3530807

Steps to Reproduce
  1. Create a new project using the third person template
  2. In the project settings open the input section and add a new action mapping
  3. Name the mapping AssetCreate and set it to the H key
  4. Open the ThirdPersonCharacter blueprint and go to its event graph
  5. Create the event for the input action "AssetCreate"
  6. Off of the pressed event get the node "Create Asset tools"
  7. Off of the return value get the node "Create Asset With Dialog (Interface Call)
  8. Set the Asset Name to "TEST_NEW"
  9. Set the Asset Class to "Actor"
  10. Compile and save the blueprint
  11. PIE and press the H button
  12. This should prompt a menu to create a path for the asset, choose the content folder and press the save button
Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_AssetTools!UAssetToolsImpl::CreateAssetWithDialog() [d:\build\++ue4+release-4.17+compile\sync\engine\source\developer\assettools\private\assettools.cpp:502]
UE4Editor_AssetTools!IAssetTools::execCreateAssetWithDialog()
UE4Editor_CoreUObject!UFunction::Invoke() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4461]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:732]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2192]
UE4Editor_CoreUObject!UObject::execLetObj() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2014]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:954]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:856]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:954]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4461]
UE4Editor_CoreUObject!UObject::ProcessEvent() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1334]
UE4Editor_Engine!AActor::ProcessEvent() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\actor.cpp:699]
UE4Editor_Engine!FInputActionHandlerDynamicSignature::Execute() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\classes\components\inputcomponent.h:108]
UE4Editor_Engine!FInputActionUnifiedDelegate::Execute() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\classes\components\inputcomponent.h:212]
UE4Editor_Engine!UPlayerInput::ProcessInputStack() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\userinterface\playerinput.cpp:1243]
UE4Editor_Engine!APlayerController::ProcessPlayerInput() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\playercontroller.cpp:2463]
UE4Editor_Engine!APlayerController::TickPlayerInput() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\playercontroller.cpp:4214]
UE4Editor_Engine!APlayerController::PlayerTick() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\playercontroller.cpp:2126]
UE4Editor_Engine!APlayerController::TickActor() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\playercontroller.cpp:4307]
UE4Editor_Engine!FActorTickFunction::ExecuteTick() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\actor.cpp:130]
UE4Editor_Engine!FTickFunctionTask::DoTask() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:269]
UE4Editor_Engine!TGraphTask<FTickFunctionTask>::ExecuteTask() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:784]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:650]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:559]
UE4Editor_Core!FTaskGraphImplementation::WaitUntilTasksComplete() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:1327]
UE4Editor_Engine!FTickTaskSequencer::ReleaseTickGroup() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:538]
UE4Editor_Engine!FTickTaskManager::RunTickGroup() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:1450]
UE4Editor_Engine!UWorld::RunTickGroup() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\leveltick.cpp:758]
UE4Editor_Engine!UWorld::Tick() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\leveltick.cpp:1383]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:1643]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:396]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3215]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.174.18
CreatedJul 31, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue