Description

Crash when rendering cinematic in a Separate Process without "-NoLoadingScreen" cmd argument. Occurs in 4.12 and 4.13 in both Matinee and Sequencer


Error message:

Assertion failed: SizeX > 0 && SizeY > 0 && NumMips > 0 [Link Removed] [Line: 458]

Source Context:

  445       				(uint32)TextureDesc->Format,
  446       				TextureDesc->MipLevels
  447       				);
  448       		}
  449       	}
  450       #endif // #if GUARDED_TEXTURE_CREATES
  451       }
  452       
  453       template<typename BaseResourceType>
  454       TD3D11Texture2D<BaseResourceType>* FD3D11DynamicRHI::CreateD3D11Texture2D(uint32 SizeX,uint32 SizeY,uint32 SizeZ,bool bTextureArray,bool bCubeTexture,uint8 Format,
  455       	uint32 NumMips,uint32 NumSamples,uint32 Flags, FRHIResourceCreateInfo& CreateInfo)
  456       {
  457       	check(SizeX > 0 && SizeY > 0 && NumMips > 0);
  458       
  459 ***** 	if (bCubeTexture)
  460       	{
  461       		check(SizeX <= GetMaxCubeTextureDimension());
  462       		check(SizeX == SizeY);
  463       	}
  464       	else
  465       	{
  466       		check(SizeX <= GetMax2DTextureDimension());
  467       		check(SizeY <= GetMax2DTextureDimension());
  468       	}
  469       
  470       	if (bTextureArray)
  471       	{
  472       		check(SizeZ <= GetMaxTextureArrayLayers());
  473       	}
  474       

*Most recent user affected CL:*2946394

Logs:
[Link Removed]


CrashReporter User Descriptions:

  • EUS Matt.Williams - Same as last
  • EUS Matt.Williams - Rendering matinee with separate process and the cmd argument of "-windowed"
Steps to Reproduce

1. Create a Matinee and open the Render Movie options
2. Enable "Use Separate Process"
3. Remove the "-NoLoadingScreen" from the cmd arguments
4. Select Capture

Result: Crash
Expected: Renders as usual

Callstack
UE4Editor_D3D11RHI!FD3D11DynamicRHI::CreateD3D11Texture2D<FD3D11BaseTexture2D>() [d3d11texture.cpp:460]
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHICreateTexture2D() [d3d11texture.cpp:989]
UE4Editor_RHI!FDynamicRHI::RHICreateTexture2D_RenderThread() [rhicommandlist.cpp:1902]
UE4Editor_RHI!FRHICommandListImmediate::CreateTexture2D() [rhicommandlist.h:2557]
UE4Editor_MovieSceneCapture!RHICreateTexture2D() [rhicommandlist.h:3141]
UE4Editor_MovieSceneCapture!`FViewportSurfaceReader::Resize'::`2'::EURCMacro_CreateCaptureFrameTexture::DoTask() [framegrabber.cpp:37]
UE4Editor_MovieSceneCapture!TGraphTask<`FViewportSurfaceReader::Resize'::`2'::EURCMacro_CreateCaptureFrameTexture>::ExecuteTask() [taskgraphinterfaces.h:886]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:779]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:526]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:310]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:417]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:74]

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentAnim - Sequencer
Affects Versions4.124.13
Target Fix4.13
Fix Commit3039290
Main Commit3048548
CreatedJul 5, 2016
ResolvedJul 6, 2016
UpdatedApr 27, 2018