Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2022.1.X
Votes
0
Found in
2022.1.0a12
2022.1.0a13
Issue ID
1376549
Regression
Yes
Shader “Preprocess only” option and “Compile and show code” are not clickable if shader is in Packages folder
How to reproduce:
1. Create a new project
2. Select “Packages/com.unity.textmeshpro/Editor Resources/Shaders/TMP_SDF Internal Editor.shader” shader
3. In the Inspector click the “Compile and show code” or “Preprocess only” option
Expected result: Able to select the “Preprocess only” option and click “Compile and show code”
Actual result: Can not select the “Preprocess only” option or click “Compile and show code”
Reproducible with: 2022.1.0a12, 2022.1.0a13
Not reproducible with: 2019.4.31f1, 2020.3.21f1, 2021.1.28f1, 2021.2.1f1, 2022.1.0a11
Could not test with: 2019.4.31f1 (“Preprocess only” option is missing)
Notes:
- To see the expected result move or copy a shader to the Assets folder and repeat steps 2 and 3 with that shader
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b6