Search Issue Tracker

Fixed in 5.6.0

Votes

8

Found in

5.1.2f1

Issue ID

724736

Regression

No

Shader variants (keywords) do not work in Asset Bundles

Shaders

-

How to reproduce:

1. Open attached project
2. Open scene Test.unity
3. Play the scene
- Note that two spheres are instantiated, with a shader attached
4. Select any sphere and modify its material (tick the Test Variant checkbox)
- Note that the sphere doesn't change colour
- Creating a new material and assigning the Custom/TestVariants shader to it, then ticking the checkbox causes the material to turn red properly

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.