Search Issue Tracker
Won't Fix
Votes
4
Found in
4.2.1f4
Issue ID
565570
Regression
No
Shaders preprocess #pragma surface before #ifdefs
Right now impossible to have for example this:
#ifdef DESKTOP_VARIANT
#pragma surface surf FancyStuff
#else
#pragma surface surf SimplerStuff exclude_path:prepass
#endif
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
- Memory Leak warnings are thrown when opening an imported Prefab
- Crash on mono_push_other_roots when setting Normal Thread Affinity
- Editor exits Play mode when another project is being created using Unity Hub 3.8.0-beta.1
Add comment