Summary:
Enabling LPV by adding “r.LightPropagationVolume = 1” to either the engine’s ConsoleVariables.ini or a project’s DefaultEngine.ini causes Development builds to crash when run.
Note: There are 0 error(s) and 0 warning(s) reported when building.
Note: Only Development builds crash. Shipping builds appear to run fine. The game runs fine in editor.
Repro:
-
Launch 4.17
-
Create a new blank project with no starter content
-
Go to File → Save Current As and click Save to save the default map as “NewMap” in the Content folder
-
Go to Edit → Project Settings → Maps and Modes and set NewMap to be the default Editor Startup Map and Game Default Map
-
Close the window and exit the editor
-
Do one of the following:
Add “r.LightPropagationVolume = 1” to the engine’s ConsoleVariables.ini file and save it
or
Add the following to the project’s DefaultEngine.ini file in the project’s Config folder and save it
[SystemSettings]
r.LightPropagationVolume = 1
-
Restart the editor and re-open the project
-
Check that File → Package Project → Build Configuration is set to Development
-
Package a build by going to File → Package Project → Windows → Windows (64-bit)
-
Select a folder location and click Select Folder
-
The build will complete with 0 errors and 0 warnings
-
Run the build from the selected location in Windows and it will crash with the following error:
The Game has crashed and will close
Assertion Failed: IsInRenderingThread()
[File:D:\Build++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\Renderer\Private\PostProcess\SceneRenderTarget.cpp][Line: 2070]