Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b8
Issue ID
777505
Regression
Yes
[CommandBuffer] Material keywords are ignored in CommandBuffer
Material keywords, which are set by EnableKeyword or shaderKeywords, are ignored in CommandBuffer.DrawMesh and Blit. These commands always choose the default shader variant when drawing.
Note that there is not such an issue with the global shader keyword (Shader.EnableKeyword). It takes effect properly.
This issue doesn’t reproduce on the previous versions (5.3 and earlier).
Comments (1)
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
- Entering “NaN” or “Infinity” values in Game Object Brush Orientation value fields spams Quaternion-related errors in the Console and persists unless value is undone in Tile Palette window
- An InvalidOperationException is thrown in the Editor when using On-Tile Rendering with the Mock HMD plug-in
- Unity UI does not trigger "OnFocusLost" and doesn't refresh when focusing on other Windows in the Editor
- Project Auditor's settings cannot be searched in the Preferences window
- Crash on SerializableManagedRef::CallMethod when performing various Unity operations
forestrf
Jul 06, 2016 03:03
I am having this problem after compiling to windows standalone (x86 & x86_64) but it works inside the Editor.
I enabled a Keyword using material.EnableKeyword ("Something") and material.IsKeywordEnabled("Something") returns true, inside the Editor and inside the Player.
If I connect the profiler to the player and debug the current frame, it shows that indeed, the keywork is not enabled.
I am using Windows 7 and Unity 5.4.0b23
Thank you