In 4.8.2 QA Build - Making the changes to BasePassPixelShader.usf listed below, adding two texture samples and then using the Preview Arrow toggle on the add node will hard crash the CPU, requiring a complete CPU reboot. Licensee reports only a Video Driver crash and engine crash.
In 4.9 and 4.10 - Crash on opening the project from above with BasePassPixelShader.usf - Shader Compiler actually crashes befor engine starts fully.
[Link Removed]
void Main( FVertexFactoryInterpolantsVSToPS Interpolants, FBasePassInterpolantsVSToPS BasePassInterpolants, in INPUT_POSITION_QUALIFIERS float4 SvPosition : SV_Position, OPTIONAL_IsFrontFace, out float4 OutColor : SV_Target0 #if FEATURE_LEVEL >= FEATURE_LEVEL_SM4 && (MATERIALBLENDING_SOLID || MATERIALBLENDING_MASKED) && !NO_GBUFFER ,out float4 OutGBufferA : SV_Target1 ,out float4 OutGBufferB : SV_Target2 ,out float4 OutGBufferC : SV_Target3 ,out float4 OutGBufferD : SV_Target4 #if ALLOW_STATIC_LIGHTING ,out float4 OutGBufferE : SV_Target5 ,out float4 OutGBufferF : SV_Target6 // SQEX_DISPLAY_DRIVER_CRASH_TEST ,out float4 OutGBufferG : SV_Target7 // SQEX_DISPLAY_DRIVER_CRASH_TEST #if WRITES_VELOCITY_TO_GBUFFER // , out float4 OutGBufferVelocity : SV_Target6 // SQEX_DISPLAY_DRIVER_CRASH_TEST #endif #else #if WRITES_VELOCITY_TO_GBUFFER , out float4 OutGBufferVelocity : SV_Target5 #endif #endif #endif
RESULTS: IN 4.8.2 - Hard Crash, must reboot the computer. In 4.9 and 4.10, the Engine will crash with the callstack listed in callstack section
Fatal error: [Link Removed] [Line: 1201] Failed to compile default material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial!
UE4Editor_Engine!FShaderCompilingManager::ProcessCompiledShaderMaps() shadercompiler.cpp:1201
UE4Editor_Engine!FShaderCompilingManager::FinishCompilation() shadercompiler.cpp:1632
UE4Editor_Engine!FMaterialShaderMap::Compile() materialshader.cpp:1229
UE4Editor_Engine!FMaterial::BeginCompileShaderMap() materialshared.cpp:1450
UE4Editor_Engine!FMaterial::CacheShaders() materialshared.cpp:1377
UE4Editor_Engine!FMaterial::CacheShaders() materialshared.cpp:1289
UE4Editor_Engine!UMaterial::CacheShadersForResources() material.cpp:1843
UE4Editor_Engine!UMaterial::CacheResourceShadersForRendering() material.cpp:1761
UE4Editor_Engine!UMaterial::PostLoad() material.cpp:2375
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() obj.cpp:723
UE4Editor_Engine!UMaterialInterface::PostLoadDefaultMaterials() material.cpp:386
UE4Editor_Engine!UMaterial::PostLoad() material.cpp:2224
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() obj.cpp:723
UE4Editor_CoreUObject!EndLoad() uobjectglobals.cpp:1285
UE4Editor_CoreUObject!LoadPackageInternal() uobjectglobals.cpp:1041
UE4Editor_CoreUObject!ResolveName() uobjectglobals.cpp:680
UE4Editor_CoreUObject!StaticLoadObjectInternal() uobjectglobals.cpp:767
UE4Editor_CoreUObject!StaticLoadObject() uobjectglobals.cpp:831
UE4Editor_UnrealEd!ConstructorHelpersInternal::FindOrLoadObject<UStaticMesh>() constructorhelpers.h:32
UE4Editor_UnrealEd!ConstructorHelpers::FObjectFinder<UStaticMesh>::FObjectFinder<UStaticMesh>() constructorhelpers.h:99
UE4Editor_UnrealEd!UThumbnailManager::UThumbnailManager() thumbnailmanager.cpp:45
UE4Editor_CoreUObject!UClass::CreateDefaultObject() class.cpp:2657
UE4Editor_CoreUObject!UObjectLoadAllCompiledInDefaultProperties() uobjectbase.cpp:729
UE4Editor_CoreUObject!ProcessNewlyLoadedUObjects() uobjectbase.cpp:820
UE4Editor!FEngineLoop::PreInit() launchengineloop.cpp:1379
UE4Editor!GuardedMain() launch.cpp:110
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126
UE4Editor!WinMain() launchwindows.cpp:200
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-19235 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.8.2, 4.9, 4.10 |
Created | Jul 27, 2015 |
---|---|
Resolved | Jul 27, 2015 |
Updated | Jul 14, 2021 |