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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a17