Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2018.2.0f2
Issue ID
1064917
Regression
No
Shader bundle does not rebuild when changing an included HLSL file
To reproduce:
1. Download attached project "ShaderDependenciesHLS.zip" and open in Unity
2. Select "StreamingAssets" folder and delete everything from it
3. Select Support > BuildBundles_StreamingAssets
4. Check "StreamingAssets" folder and observe that it create Shader bundle
5. Modify "shader1.cginc" by adding or removing content
6. Select Support > BuildBundles_StreamingAssets
7. Check "StreamingAssets" folder and observe that Shader bundle doesn't rebuild and bundle hash remains the same
Notes:
- This issue appears on both Windows and OSX
Reproduced on Unity 2017.2.3p3, 2017.3.2f1, 2017.4.8f1, 2018.1.9f1, 2018.2.2f1 and 2018.3.0a7
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Add comment