Description

Able to set default values for Sequence & Map variables for a Movie Pipeline Executor Job causing an Ensure & Crash.

Repro Rate: 4/4

Tested this in //UE4/Release-4.27 @ CL#18319896 and the user is not able to set the default values, it is a regression!

=== Critical error: ===

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp] [Line: 10]
Cast of nullptr to LevelSequence failed
Steps to Reproduce
  1. Create a new Third Person BP template project.
  2. Enable the Movie Render Queue Plugin & restart the editor.
  3. Right-Click the Content Browser, create and open a new Level Sequence. (Located in Animation)
  4. Create a new Camera utilizing the Camera button in Sequencer & save.
  5. Back in Content Browser, create a new Actor Blueprint and open it.
  6. Head to the Event Graph and right-click empty space.
  7. Add Get MoviePipelineQueueEngineSubsystem (MPQES)
  8. Drag from the MPQES output pin and place the node RenderQueueWithExecutor
    • Set the In Execution Type to MoviePipelineInProcessExecutor
  9. Drag from the MPQES output and place the node Get Queue
  10. From the return value on the Get Queue node, place an Allocate New Job node.
  11. Drag out from the return value of the Allocate node and place a Set Sequence node then a Set Map node.
    • Ensure target is connected to the Return Value and that the execution pins are connected!
  12. Click on Set Sequence node, in details change the default value to the sequence you created.
  13. Click on Set Map node, in details change the default value to the map where the sequence was created.
  14. Connect the execution pin of the Set Map node to the Render Queue with Executor node
  15. Drag from the execution pin of BeginPlay to the Allocate New Job node
  16. Save & Compile
  17. Create a new Level and place the Blueprint into the scene.
  18. Play In Editor

Results: Editor crashes, hitting an assertion due to an invalid cast.
Expected: User is unable to set the default value of the Soft Object Reference's by utilizing the Details panel.

Callstack

Assertion:

Error: === Critical error: ===
Error: 
Error: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp] [Line: 10] 
Error: Cast of nullptr to LevelSequence failed
Error: 
Error: 
Error: 
Error: 
Error: [Callstack] 0x00007ffb685696d5 UnrealEditor-CoreUObject.dll!CastLogError() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp:11]
Error: [Callstack] 0x00007ffb26468a39 UnrealEditor-MovieRenderPipelineCore.dll!UMoviePipelineInProcessExecutor::ModifyState() [D:\build\++UE5\Sync\Engine\Plugins\MovieScene\MovieRenderPipeline\Source\MovieRenderPipelineCore\Private\MoviePipelineInProcessExecutor.cpp:227]
Error: [Callstack] 0x00007ffb26481087 UnrealEditor-MovieRenderPipelineCore.dll!UMoviePipelineInProcessExecutor::Start() [D:\build\++UE5\Sync\Engine\Plugins\MovieScene\MovieRenderPipeline\Source\MovieRenderPipelineCore\Private\MoviePipelineInProcessExecutor.cpp:45]
Error: [Callstack] 0x00007ffb264834b2 UnrealEditor-MovieRenderPipelineCore.dll!UMoviePipelineLinearExecutorBase::StartPipelineByIndex() [D:\build\++UE5\Sync\Engine\Plugins\MovieScene\MovieRenderPipeline\Source\MovieRenderPipelineCore\Private\MoviePipelineLinearExecutor.cpp:63]
Error: [Callstack] 0x00007ffb2649184c UnrealEditor-MovieRenderPipelineCore.dll!UMoviePipelineExecutorBase::execExecute() [D:\build\++UE5\Sync\Engine\Plugins\MovieScene\MovieRenderPipeline\Intermediate\Build\Win64\UnrealEditor\Inc\MovieRenderPipelineCore\MoviePipelineExecutor.gen.cpp:340]
Error: [Callstack] 0x00007ffb6857bcb7 UnrealEditor-CoreUObject.dll!UFunction::Invoke() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5912]
Error: [Callstack] 0x00007ffb687a17a7 UnrealEditor-CoreUObject.dll!UObject::ProcessEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2003]
Error: [Callstack] 0x00007ffb2649080c UnrealEditor-MovieRenderPipelineCore.dll!UMoviePipelineExecutorBase::Execute() [D:\build\++UE5\Sync\Engine\Plugins\MovieScene\MovieRenderPipeline\Intermediate\Build\Win64\UnrealEditor\Inc\MovieRenderPipelineCore\MoviePipelineExecutor.gen.cpp:357]
Error: [Callstack] 0x00007ffb2647556b UnrealEditor-MovieRenderPipelineCore.dll!UMoviePipelineQueueEngineSubsystem::RenderQueueWithExecutor() [D:\build\++UE5\Sync\Engine\Plugins\MovieScene\MovieRenderPipeline\Source\MovieRenderPipelineCore\Private\MoviePipelineQueueEngineSubsystem.cpp:10]
Error: [Callstack] 0x00007ffb26498700 UnrealEditor-MovieRenderPipelineCore.dll!UMoviePipelineQueueEngineSubsystem::execRenderQueueWithExecutor() [D:\build\++UE5\Sync\Engine\Plugins\MovieScene\MovieRenderPipeline\Intermediate\Build\Win64\UnrealEditor\Inc\MovieRenderPipelineCore\MoviePipelineQueueEngineSubsystem.gen.cpp:42]
Error: [Callstack] 0x00007ffb6857bcb7 UnrealEditor-CoreUObject.dll!UFunction::Invoke() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5912]
Error: [Callstack] 0x00007ffb6878d857 UnrealEditor-CoreUObject.dll!UObject::CallFunction() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1012]
Error: [Callstack] 0x00007ffb687a01e3 UnrealEditor-CoreUObject.dll!UObject::ProcessContextOpcode() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2871]
Error: [Callstack] 0x00007ffb687dcdbf UnrealEditor-CoreUObject.dll!UObject::execLetObj() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2692]
Error: [Callstack] 0x00007ffb687a2ea1 UnrealEditor-CoreUObject.dll!ProcessLocalScriptFunction() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1082]
Error: [Callstack] 0x00007ffb687792be UnrealEditor-CoreUObject.dll!ProcessScriptFunction<void (__cdecl*)(UObject *,FFrame &,void *)>() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:912]
Error: [Callstack] 0x00007ffb687a2a8f UnrealEditor-CoreUObject.dll!ProcessLocalFunction() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1143]
Error: [Callstack] 0x00007ffb687a2ea1 UnrealEditor-CoreUObject.dll!ProcessLocalScriptFunction() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1082]
Error: [Callstack] 0x00007ffb687a21b4 UnrealEditor-CoreUObject.dll!UObject::ProcessInternal() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1170]
Error: [Callstack] 0x00007ffb6857bcb7 UnrealEditor-CoreUObject.dll!UFunction::Invoke() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5912]
Error: [Callstack] 0x00007ffb687a17a7 UnrealEditor-CoreUObject.dll!UObject::ProcessEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2003]
Error: [Callstack] 0x00007ffb69070244 UnrealEditor-Engine.dll!AActor::ProcessEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:1030]
Error: [Callstack] 0x00007ffb69039eb6 UnrealEditor-Engine.dll!AActor::BeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3909]
Error: [Callstack] 0x00007ffb69044e3f UnrealEditor-Engine.dll!AActor::DispatchBeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3849]
Error: [Callstack] 0x00007ffb6ae382c2 UnrealEditor-Engine.dll!AWorldSettings::NotifyBeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\WorldSettings.cpp:283]
Error: [Callstack] 0x00007ffb69979111 UnrealEditor-Engine.dll!AGameStateBase::HandleBeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\GameStateBase.cpp:205]
Error: [Callstack] 0x00007ffb6ad64948 UnrealEditor-Engine.dll!UWorld::BeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\World.cpp:4891]
Error: [Callstack] 0x00007ffb69933a15 UnrealEditor-Engine.dll!UGameInstance::StartPlayInEditorGameInstance() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:500]
Error: [Callstack] 0x00007ffb659d9198 UnrealEditor-UnrealEd.dll!UEditorEngine::CreateInnerProcessPIEGameInstance() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:3050]
Error: [Callstack] 0x00007ffb65a0e566 UnrealEditor-UnrealEd.dll!UEditorEngine::OnLoginPIEComplete_Deferred() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1566]
Error: [Callstack] 0x00007ffb659d9c42 UnrealEditor-UnrealEd.dll!UEditorEngine::CreateNewPlayInEditorInstance() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1828]
Error: [Callstack] 0x00007ffb65a2cd2a UnrealEditor-UnrealEd.dll!UEditorEngine::StartPlayInEditorSession() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:2796]
Error: [Callstack] 0x00007ffb65a30537 UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequestImpl() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1146]
Error: [Callstack] 0x00007ffb65a2fe21 UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequest() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1049]
Error: [Callstack] 0x00007ffb653cd953 UnrealEditor-UnrealEd.dll!UEditorEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1665]
Error: [Callstack] 0x00007ffb65d59f56 UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:474]
Error: [Callstack] 0x00007ff756d182f6 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5215]
Error: [Callstack] 0x00007ff756d30d9c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
Error: [Callstack] 0x00007ff756d30e8a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
Error: [Callstack] 0x00007ff756d33c4d UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
Error: [Callstack] 0x00007ff756d45534 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
Error: [Callstack] 0x00007ff756d486e6 UnrealEditor.exe!__scrt_common_main_seh() [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
Error: [Callstack] 0x00007ffc536d7bd4 KERNEL32.DLL!UnknownFunction []
Error: [Callstack] 0x00007ffc5504ced1 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-149413 in the post.

0
Login to Vote

Fixed
ComponentUE - Anim - Sequencer - MRQ
Affects Versions5.0
Target Fix5.1
Fix Commit20306433
Main Commit20306433
CreatedApr 18, 2022
ResolvedMay 23, 2022
UpdatedMay 28, 2022