Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2020.1.X
Votes
0
Found in
Issue ID
1226253
Regression
No
[Caching Shader Preprocessor] Platform keywords affect #pragma parameters
Platform keywords that only depend on current build target are treated as regular keywords and do not allow #pragma parameter selection.
1. Make an empty project (any pipe), standalone build target.
2. Go to project settings -> editor settings, turn Caching shader preprocessor on.
3. Add attched shader to the project. Create a cube and a new material, assign the material to the cube, assign the attached shader to the material.
4. Observe the cube is green.
5. Select the attached shader, observe two improt warnings.
Expected: no warnings, cube is red.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The cogwheel button in the Build History window gets distorted when the Build History window is resized or options are ticked in the toolbar
- Unity Hub (Arm64) fails to start when installed on Windows 11 (Arm64)
- “This version of Unity is not currently available for use with Build Automation” warning is shown only after setting up Cloud and Version Control warnings when adding Build Automation to a Build Profile
- Crash on ProfilerSymbolsDelayedDeletion::AddCloneObject when deserializing an object-instantiate marker with a dangling/corrupt name string
- Characters overlap preceding text when monospace tags are used on a TMP_Text component set to RTL
Add comment