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
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
Resolution Note:
Preprocessor behaviour is as designed and has tests targeting this behaviour.