Search Issue Tracker
By Design
Votes
2
Found in
2021.3.15f1
2022.1.24f1
2022.2.1f1
2023.1.0a22
2023.2.0a1
Issue ID
UUM-21126
Regression
No
HDRP shader variant does not appear in Build when used by Addressables
Reproduction steps:
1. Open the attached “TestHDRPBug.zip“ project
2. Open “SampleScene” scene
3. Build and Run the project
4. Press the 'S' key which changes the current HDRenderPipeline and observe the Build window and Development Console
5. In Editor find GameObject "TestBugCube" and add HDRenderPipeline asset "TestHDRPAsset" to "TestHDRP Bug Script" Component field "Empty Slot For Hd Render Pipeline"
6. Build and Run the project
7. Press the 'S' key and observe the Build window and Development Console
Expected result: All objects are visible in Build
Actual result: Objects are not visible, Build window is black and there are errors in Development Console
Reproducible with: 2021.3.15f1, 2022.1.24f1, 2022.2.1f1, 2023.1.0a22
Could not test with: 2020.3.42f1 (Due to errors in Development Console)
Reproduced on: macOS Monterey 12.6 (Intel)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
This usage is currently not supported.
We can't have in an asset bundles HDRP Asset with different settings than what have been used for the player - shader variant will not exist. Only way to make this working is to have all possible settings case inside the Player to force all shader variants generation.