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
- Search: Inspector section icon is less sharp/more pixelated than other editor icons
- Search description string is always truncated
- [VFX] When Grouped Nodes are converted to Subgraph Operator resulting Graph Node is not included in the Group
- Search window icons are less sharp/more pixelated than other editor icons
- The Inspector can be covered when scaling the horizontal separator bar
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a17