Search Issue Tracker
By Design
Votes
0
Found in
5.6.0b9
Issue ID
885429
Regression
Yes
UNITY_MATRIX_MVP warning is shown even if code in shader is disabled by preprocessor
Problem: UNITY_MATRIX_MVP warning is shown even if code in shader is disabled by preprocessor
Unity shader upgrader doesn't have any context associated with disabled regions or scopes. It does it's thing on pure text. This means that a situation like this will show the warning.
Currently we don't have plans to make the upgrader smarter and because of this we consider it a by design issue.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment