Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
0
Found in
2018.4
2019.3
2020.1
2020.1.0b9
2020.2
Issue ID
1250495
Regression
No
[Bug] Included cginc files are missing from dependencies when exporting Shader as a Package
How to reproduce:
1. Open the attached "ShaderDependencyIssue-2020.1" project
2. Right-click "MyMaterial" from the Assets folder
3. Click Export Package
Expected result: "MyLib.cginc" is included in the dependencies list
Actual result: "MyLib.cginc" isn't in the dependency list
Reproducible with: 2018.4.23f1, 2019.3.15f1, 2020.1.0b10, 2020.2.0a13
Notes:
-"MyLib.cginc" Asset is also missing when trying to export just the "MyShader" 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
- Crash on mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.2):
Fixed in 2020.2.3f1