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
- NavMesh Surface is baked too high above the ground, making the NavMesh Agents hover above the ground when the HeightMesh is not built
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
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.