Search Issue Tracker
By Design
Votes
2
Found in
5.5.0f3
Issue ID
858151
Regression
No
[Shader]Material.SetOverrideTag() does not seem to work
Trying to set a shader tag via 'Material.SetOverrideTag()' in this case 'DisableBatching' does not seem to work.
Repro steps:
1. Open attached project 'BatchingOverride.zip'
2. Run included scene
3. Press spacebar to toggle override
Expected results: Batch count should go from ~24 > 0 and back again
Actual result: Batch count does not change, meaning the override does not work
Note:Tried a few other tags such as RenderType and Queue, neither seemed to work.
Repro'd in Unity 5.1, Unity 5.6, Unity 2017.1.0b4
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
tetriste
Oct 27, 2017 15:41
This is still a problem and is rather annoying when working with uber shaders