Description

When packaging with only support for DirectX10 RHI, the editor will crash after hitting "OK" on the window that mentions that the Global Shader Cache file is missing.

This was encountered while running the following test: https://jira.it.epicgames.net/browse/UEQATC-1516

Regression?: Yes
This did not occur in 4.19

Steps to Reproduce
  1. In a source build of the editor, create a new project
  2. In Project Settings > Platforms > Windows > Target RHIs, disable DirectX 11 (SM5) (This should leave only DirectX 10 enabled)
  3. Packaged the project for Development, Windows 64 bit
  4. Open the packaged game
  5. An error message appears, press okay
    Result: The process crashes with an assertion
    Expected: The process closes properly
Callstack
Assertion failed: ConfigClass->PropertyLink != nullptr || (ConfigClass->GetSuperStruct() && ConfigClass->PropertiesSize == ConfigClass->GetSuperStruct()->PropertiesSize) || ConfigClass->PropertiesSize == 0 [File:D:\4.20 for QA Testing New\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp] [Line: 1893] class TextureLODSettings has uninitialized properties. Accessed too early?

UE4Game!FDebug::AssertFailed() [d:\4.20 for qa testing new\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
UE4Game!UObject::LoadConfig() [d:\4.20 for qa testing new\engine\source\runtime\coreuobject\private\uobject\obj.cpp:1890]
UE4Game!FObjectInitializer::PostConstructInit() [d:\4.20 for qa testing new\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2818]
UE4Game!FObjectInitializer::~FObjectInitializer() [d:\4.20 for qa testing new\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2697]
UE4Game!UClass::CreateDefaultObject() [d:\4.20 for qa testing new\engine\source\runtime\coreuobject\private\uobject\class.cpp:2903]
UE4Game!UClass::CreateDefaultObject() [d:\4.20 for qa testing new\engine\source\runtime\coreuobject\private\uobject\class.cpp:2845]
UE4Game!FObjectInitializer::~FObjectInitializer() [d:\4.20 for qa testing new\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2667]
UE4Game!StaticConstructObject_Internal() [d:\4.20 for qa testing new\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:3157]
UE4Game!UDeviceProfileManager::CreateProfile() [d:\4.20 for qa testing new\engine\source\runtime\engine\private\deviceprofiles\deviceprofilemanager.cpp:297]
UE4Game!UDeviceProfileManager::CreateProfile() [d:\4.20 for qa testing new\engine\source\runtime\engine\private\deviceprofiles\deviceprofilemanager.cpp:292]
UE4Game!UDeviceProfileManager::FindProfile() [d:\4.20 for qa testing new\engine\source\runtime\engine\private\deviceprofiles\deviceprofilemanager.cpp:351]
UE4Game!UDeviceProfileManager::Get() [d:\4.20 for qa testing new\engine\source\runtime\engine\private\deviceprofiles\deviceprofilemanager.cpp:54]
UE4Game!FStreamingManagerTexture::FStreamingManagerTexture() [d:\4.20 for qa testing new\engine\source\runtime\engine\private\streaming\streamingmanagertexture.cpp:101]
UE4Game!FStreamingManagerCollection::AddOrRemoveTextureStreamingManagerIfNeeded() [d:\4.20 for qa testing new\engine\source\runtime\engine\private\contentstreaming.cpp:1066]
UE4Game!FStreamingManagerCollection::FStreamingManagerCollection() [d:\4.20 for qa testing new\engine\source\runtime\engine\private\contentstreaming.cpp:674]
UE4Game!FlushResourceStreaming() [d:\4.20 for qa testing new\engine\source\runtime\engine\private\contentstreaming.cpp:45]
UE4Game!FEngineLoop::Exit() [d:\4.20 for qa testing new\engine\source\runtime\launch\private\launchengineloop.cpp:2959]
UE4Game!GuardedMain() [d:\4.20 for qa testing new\engine\source\runtime\launch\private\launch.cpp:177]
UE4Game!GuardedMainWrapper() [d:\4.20 for qa testing new\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
UE4Game!WinMain() [d:\4.20 for qa testing new\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
UE4Game!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-60744 in the post.

1
Login to Vote

Duplicate
Affects Versions4.20
Target Fix4.21
Fix Commit4237066
Main Commit4285673
CreatedJun 18, 2018
ResolvedJul 30, 2018
UpdatedFeb 14, 2020