Description

Enabling the Anisotropic BRDF (beta) causes crash upon restarting the Editor.

This was reported and tested in 4.25 Preview 2 (CL-12055273). This was reproduced in main 4.26 (CL-12161634).

Steps to Reproduce
  1. Open the UE4 Editor and create a Blank project
  2. Go to Project Settings>Rendering and search for Anisotropic BRDF and enable it
  3. Restart the Editor

Results: The Editor crashes while it loads up

Expected: The Editor doesn't crash

Callstack
[2020.03.13-17.43.59:152][  0]LogWindows: Error: === Critical error: ===
[2020.03.13-17.43.59:152][  0]LogWindows: Error: 
[2020.03.13-17.43.59:152][  0]LogWindows: Error: Fatal error: [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 4952] 
[2020.03.13-17.43.59:152][  0]LogWindows: Error: Failed to compile global shader FGenerateReflectionRaysCS  .  Enable 'r.ShaderDevelopmentMode' in ConsoleVariables.ini for retries.
[2020.03.13-17.43.59:152][  0]LogWindows: Error: 
[2020.03.13-17.43.59:152][  0]LogWindows: Error: 
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff9d81c9159 KERNELBASE.dll!UnknownFunction []
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff982de1106 UE4Editor-Core.dll!ReportAssert() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1388]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff982de4758 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff982b6f5bd UE4Editor-Core.dll!FOutputDevice::LogfImpl() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff980a912a6 UE4Editor-Engine.dll!ProcessCompiledGlobalShaders() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:4972]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff980a93017 UE4Editor-Engine.dll!FShaderCompilingManager::ProcessCompiledShaderMaps() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:2454]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff980a75f04 UE4Editor-Engine.dll!FShaderCompilingManager::FinishCompilation() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:2846]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff959bb0b9e UE4Editor-D3D11RHI.dll!FD3D11DynamicRHI::PostInit() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\Windows\WindowsD3D11Device.cpp:1047]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff625db28a9 UE4Editor.exe!FEngineLoop::PreInitPostStartupScreen() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3105]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff625dabdcc UE4Editor.exe!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff625dac13a UE4Editor.exe!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff625dbe959 UE4Editor.exe!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:266]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff625dc1a3a UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff9dbae7974 KERNEL32.DLL!UnknownFunction []
[2020.03.13-17.43.59:152][  0]LogWindows: Error: [Callstack] 0x00007ff9dbd5a261 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-90643 in the post.

1
Login to Vote

Fixed
ComponentUE - Graphics Features - Lumen
Affects Versions4.254.26
Target Fix4.25
Fix Commit12169355
Main Commit12195329
Release Commit12169355
CreatedMar 13, 2020
ResolvedMar 16, 2020
UpdatedSep 19, 2021
View Jira Issue