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
- "Property exceeds previous array size (2 vs 1)" warnings are thrown making it impossible to work with the Update Zones of the CustomRenderTexture when updating the script
- Bug Reporter recommends invalid discussion links when writing a Title of the issue
- Freeze when calling Rigidbody.SweepTestAll in a specific project
- Crash on UI::RectTransform::SetDrivenByObject when rapidly undoing copies of a specific GameObject
- Calling Texture2D.GetRawData() on a texture with ASTC format returns different results when the Editor is started without Library folder and then restarted with Library folder
This is a duplicate of issue #1410966