Search Issue Tracker
By Design
Votes
0
Found in
2020.2.0a14
Issue ID
1254250
Regression
No
[Shader] Shader live link build only one shader variant
-Shader live link build only one shader variant.
-Two shader variant works in the editor.
Steps to repro:
1. Open the attached project > Sample Scene.
2. File > Build Settings > Player Settings > Other Settings.
3. Optimization > Enable "Keep Loaded Shaders Alive".
4. File > Build Settings > Select PC, Mac & Linux Standalone.
5. Enable Development Build > Build & Run.
Actual Result:
Only one cube changes its colour.
Expected Result:
Both cubes change colour over time.
Reproducible in:
2020.2.0a14
Tested on:
-Windows Standalone player.
-WebGL player.
-Universal Windows Platform player.
-Android Player.
-iOS player.
Tested on Android Device:
-Samsung Galaxy Note 9, OS: Android 10, GPU: Mali-G72.
-OnePlus 3, OS: Android 9, GPU: Adreno 530.
Tested on iOS Device:
-iPhone 7, OS: 13.1.2.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2020.2.X):
Shader live link has to be enabled using a custom build script.