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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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