Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
13.1.8
Issue ID
1407803
Regression
Yes
[HDRP] Standalone build doesn't render when Path Tracing is enabled
How to reproduce:
1. Open the user attached project (ptr.zip)
2. Build and run the project
3. Observe the built player
Expected result: A cube on a plane is rendered
Actual result: The player doesn't render anything and displays a black screen
Reproducible with HDRP: 13.1.8 (2022.1.0f1), 14.0.2 (2022.2.0a12)
Not reproducible with HDRP: 7.7.1 (2019.4.38f1), 10.9.0 (2020.3.34)
Could not test with HDRP: 12.1.6 (2021.3.2f1) (The project build fails with no workaround)
Reproducible on Windows 10
Not reproducible on Ubuntu 20.04
Notes:
1. Disabling Path Tracing on the "Global Volume" GameObject in the Sample Scene stops the issue from reproducing
2. Sometimes on the listed reproducible versions the build fails with the following error: Shader error in 'Shader Graphs/SolidColor': Compilation failed: Couldn't initialize DirectX Shader Compiler library.
If this happens restart the Editor and try building again and the build should succeed
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
This is a duplicate of issue #1410966