Search Issue Tracker

Fixed in Unity 4.5.5

Votes

0

Found in

4.5.1f3

Issue ID

629317

Regression

No

The "#include" directive doesn't take the #ifdef/#endif into account for importing other scripts

Shaders

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 2Core functionality majorly impacted

The preprocessor doesn't take into account the #if/ifdef guards for the #include directives which makes the material keywords/multicompile useless to conditionally exclude include files.

All about bugs

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