Description

The files in the linked case contain a project with a Datasmith scene and updated .udatasmith files that contains changes to the imported scene. When using the Dataprep Tool to import the updated scene, it crashes during the import process. The crash is believed to happen at line 2039 of MaterialShared.cpp.

This issue is only present in 4.22 (4.22E0).

Steps to Reproduce
  1. Download, unzip, and open the referenced project at the linked case
  2. Retarget the source of the datasmith scene in Unreal to match that newly extracted scene.
  3. Double-click on the Scene to open the Dataprep tool
  4. Load Scene and then Import

Results: Editor crashes during import

Expected: Editor doesn't crash and scene is imported

Callstack
[2019.03.25-14.36.51:490][984]LogWindows: Error: === Critical error: ===
[2019.03.25-14.36.51:490][984]LogWindows: Error: 
[2019.03.25-14.36.51:490][984]LogWindows: Error: Fatal error: [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 819] 
[2019.03.25-14.36.51:490][984]LogWindows: Error: Rendering thread exception:
[2019.03.25-14.36.51:490][984]LogWindows: Error: Assertion failed: OutUniformExpressionCache.UniformBuffer->GetLayout() == UniformBufferStruct.GetLayout() [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 2039] 
[2019.03.25-14.36.51:490][984]LogWindows: Error: 
[2019.03.25-14.36.51:490][984]LogWindows: Error: 
[2019.03.25-14.36.51:490][984]LogWindows: Error: 
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff982f154d8 KERNELBASE.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff9399f1607 UE4Editor-Core.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff9399f3db7 UE4Editor-Core.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff93980720a UE4Editor-Core.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff93978f367 UE4Editor-Core.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff93978f9f9 UE4Editor-Core.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff9267fe485 UE4Editor-Engine.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff926846104 UE4Editor-Engine.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff9232292a9 UE4Editor-Renderer.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff9232227fe UE4Editor-Renderer.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff923222c64 UE4Editor-Renderer.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff923294cec UE4Editor-Renderer.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff92328d255 UE4Editor-Renderer.dll!UnknownFunction []
[2019.03.25-14.36.51:490][984]LogWindows: Error: [Callstack] 0x00007ff9232ba32d UE4Editor-Renderer.dll!UnknownFunction []
[2019.03.25-14.36.51:491][984]LogWindows: Error: [Callstack] 0x00007ff939612238 UE4Editor-Core.dll!UnknownFunction []
[2019.03.25-14.36.51:491][984]LogWindows: Error: [Callstack] 0x00007ff9396124c3 UE4Editor-Core.dll!UnknownFunction []
[2019.03.25-14.36.51:491][984]LogWindows: Error: [Callstack] 0x00007ff960f15681 UE4Editor-RenderCore.dll!UnknownFunction []
[2019.03.25-14.36.51:491][984]LogWindows: Error: [Callstack] 0x00007ff960f1be14 UE4Editor-RenderCore.dll!UnknownFunction []
[2019.03.25-14.36.51:491][984]LogWindows: Error: [Callstack] 0x00007ff939a0420f UE4Editor-Core.dll!UnknownFunction []
[2019.03.25-14.36.51:491][984]LogWindows: Error: [Callstack] 0x00007ff9399fff77 UE4Editor-Core.dll!UnknownFunction []
[2019.03.25-14.36.51:491][984]LogWindows: Error: [Callstack] 0x00007ff984021fe4 KERNEL32.DLL!UnknownFunction []
[2019.03.25-14.36.51:491][984]LogWindows: Error: [Callstack] 0x00007ff9860dcb81 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-71973 in the post.

1
Login to Vote

Fixed
Fix Commit5558585
Main Commit5558586
Release Commit5558585
CreatedMar 25, 2019
ResolvedMar 26, 2019
UpdatedApr 4, 2019
View Jira Issue