Adding the d3d10 command line argument to a package project results in a crash. This worked normally in 4.21 and below. 

Steps to Reproduce
  1. Create a blank Blueprint project
  2. Package the project for Windows (64 Bit)
  3. Create a shortcut for the packaged projects .exe file.
  4. Right click the shortcut and add -d3d10 to the target field
    1. End result should look something like this: "C:\Users\username\Desktop\Packaged Projects\4.21\AHismUpdateTest.exe" -d3d10
  5. Launch the packaged project

Result: The project will not load and results in a crash.


Expected: The project to start as normal using DirectX 10


> UDMP1-Win64-Debug.exe!FD3D11DynamicRHI::RHICreateUniformBuffer(const void * Contents, const FRHIUniformBufferLayout & Layout, EUniformBufferUsage Usage, EUniformBufferValidation Validation) Line 255 C++ Symbols loaded. UDMP1-Win64-Debug.exe!TUniformBufferRef<FViewUniformShaderParameters>::CreateUniformBufferImmediate(const FViewUniformShaderParameters & Value, EUniformBufferUsage Usage, EUniformBufferValidation Validation) Line 114 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FViewInfo::InitRHIResources() Line 1477 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FDeferredShadingSceneRenderer::InitViews(FRHICommandListImmediate & RHICmdList, FExclusiveDepthStencil::Type BasePassDepthStencilAccess, FILCUpdatePrimTaskData & ILCTaskData, TArray<TRefCountPtr<FGraphEvent>,TInlineAllocator<4,FDefaultAllocator> > & UpdateViewCustomDataEvents) Line 4049 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate & RHICmdList) Line 867 C++ Symbols loaded. UDMP1-Win64-Debug.exe!RenderViewFamily_RenderThread(FRHICommandListImmediate & RHICmdList, FSceneRenderer * SceneRenderer) Line 3150 C++ Symbols loaded. UDMP1-Win64-Debug.exe!TGraphTask<TEnqueueUniqueRenderCommandType<`FRendererModule::BeginRenderingViewFamily'::`27'::FDrawSceneCommandName,<lambda_6205393cb483cb9bf682b78d71889d8d> > >::ExecuteTask(TArray<FBaseGraphTask *,FDefaultAllocator> & NewTasks, ENamedThreads::Type CurrentThread) Line 842 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FNamedTaskThread::ProcessTasksNamedThread(int QueueIndex, bool bAllowStall) Line 686 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FNamedTaskThread::ProcessTasksUntilQuit(int QueueIndex) Line 582 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FTaskGraphImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type CurrentThread) Line 1407 C++ Symbols loaded. UDMP1-Win64-Debug.exe!RenderingThreadMain(FEvent * TaskGraphBoundSyncEvent) Line 333 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FRenderingThread::Run() Line 483 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FRunnableThreadWin::Run() Line 94 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FRunnableThreadWin::GuardedRun() Line 45 C++ Symbols loaded. UDMP1-Win64-Debug.exe!FRunnableThreadWin::_ThreadProc(void * pThis) Line 81 C++ Symbols loaded. kernel32.dll!0000000076bc59cd() Unknown Non-user code. Cannot find or open the PDB file. ntdll.dll!0000000076cfa2e1() Unknown Non-user code. Cannot find or open the PDB file.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-75505 in the post.

Login to Vote

Affects Versions4.224.23
Target Fix4.23
Fix Commit7493541
Main Commit7493634
Release Commit7493541
CreatedJun 3, 2019
ResolvedJul 23, 2019
UpdatedFeb 12, 2020