Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
Issue ID
1253968
Regression
No
[Shaders][LiveLink] When a variant has an error, nothing is rendered in the player
STR:
1. Create a new project
2. Create a shader that uses shader_feature functionality.
3. Make a compilation error in the shader for a non-default variant of shader_feature
4. Assign this shader to a material, use the material on a cube in an empty scene
5. Make a custom build using C# and make sure to use BuildOptions.ShaderLivelinkSupport (https://docs.unity3d.com/2020.2/Documentation/ScriptReference/BuildOptions.ShaderLivelinkSupport.html)
6. Add a script to switch to a shader_feature with a shader that produces an error
7. Run the player
Expected: when switching to a variant that has compilation errors at runtime, error shader is used
Actual: nothing is rendered
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a17