Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
11.0.0
Issue ID
1331352
Regression
No
Shader loses color until shader is reselected at runtime when Light Layers are enabled
Reproduction steps:
1. Open attached Project
2. Open Assets\Scenes\Forma Sample
3. Press Play
4. Select the newly generated Cube (Red/Black)
5. Reselect the Shader of the Cube's Material (Shader > HDRP > Lit)
Expected result: The cube is always fully Red
Actual result: Reselecting the Shader clears the Buffer, and the Cube turns fully Red
Reproducible with: 10.4.0 (2020.3.3f1), 10.5.0 (2020.3.8f1), 11.0.0 (2021.1.6f1)
Could not test with: 2019.4, 2021.2 (Serialization issues)
Notes: Disabling Light Layers fixes the issue
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
Resolution Note:
Update of HDRP materials in asset bundles is not supported. They have to be made with the same HDRP version as the project they are loaded in