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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Preprocessor behaviour is as designed and has tests targeting this behaviour.