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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment