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

Shaders

-

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.

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.