Search Issue Tracker
By Design
By Design in 2023.1.X
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Preprocessor behaviour is as designed and has tests targeting this behaviour.
Resolution Note (2023.1.X):
Preprocessor behaviour is as designed and has tests targeting this behaviour.