Search Issue Tracker
By Design
Votes
0
Found in [Package]
12.1.1
Issue ID
1384392
Regression
Yes
Material that uses a Simple Lit shader is rendered in pink texture when viewed in Player
How to reproduce:
1. Open the attached project "PinkMaterialBug.zip"
2. Open "Scene" Scene
3. Build & Run the project (File > Build And Run)
Expected result: The Sphere object is displayed in the original (yellow) texture
Actual result: The Sphere object is displayed in a pink texture
Reproducible with: 12.1.1 (2021.2.2f1), 12.1.2 (2021.2.6f1), 13.1.3 (2022.1.0b2)
Not reproducible with: 7.7.1 (2019.4.33f1), 10.7.0 (2020.3.24f1), 12.1.0 (2021.2.1f1)
Notes:
- Not reproducible in Play mode
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note:
This is by design, because custom shader uses our URP keyword _ADDITIONAL_LIGHT_SHADOWS and we do not support it without using _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS. As result our shader stripper removes it as invalid variant. Simply add #pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS.