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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
Preprocessor behaviour is as designed and has tests targeting this behaviour.