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

Asset Bundles

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.