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
- Scrolling in a default ScrollView in WebGL builds is slower when compared to other platform builds and the Editor
- Physics 2D Manager documentation page is missing
- [URP] The number of Shader variants increases from 96 to 186624 when the Strip Unused Variants is set to 0
- Duplicate External Textures start appearing when a Texture created with "CreateExternalTexture" is modified causing Memory Usage spikes on VisionOS
- Silent crash when using a "Blend Shape" in a "Skinned Mesh Renderer" to move vertices to Vector3.positiveInfinity, and "Occlusion Culling" is baked
Add comment