Search Issue Tracker
By Design
Votes
0
Found in
2020.3.0f1
2021.3.0f1
2022.1.0a7
2022.2.0a9
2023.1.0a1
Issue ID
UUM-8504
Regression
Yes
Caching PP doesn't put a space if "\ \n" is used
STR:
1. Create a new project using the 3D template.
2. Copy the attached shader to the Assets folder.
3. Add a cube to the scene.
4. Create a new material, assign to the cube.
5. Assign the shader from step 2 to the material.
Expected: cube renders solid white.
Actual: cube renders pink, errors in the console.
Affects 2020.3+.
Workaround: put at least one space between "FOO" and "\" or before "uv":
#define FOO \
uv
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
Preprocessor behaviour is as designed and has tests targeting this behaviour.