Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
0
Found in
2019.3
2019.3.0f1
2020.1
Issue ID
1206193
Regression
No
[ADB v2] Corrupted assets are cached and causes cache poisoning
How to reproduce:
1. Build & Run Unity Editor from the source code
2. Make sure the ADBv2 Cache Server is running (Connection has to be successful)
3. Add breakpoint on line "shadercompiler::SendCommand(...)" at ShaderCompilerClient.cpp:757
4. Create a default compute shader
5. When the breakpoint is hit, kill all "UnityShaderCompiler" processes
6. Notice, that the shader is broken now
7. Close the project & delete it's "Library" folder
8. Open the project again
Actual result: ADBv2 cache server is poisoned with the broken asset and pulls it back to the project.
Expected result: ADBv2 doesn't cache corrupted assets.
Reproducible with: 2019.3.0f1, 2020.1.0a20.
Notes:
- Didn't test earlier versions because the repro is quite complex and requires a lot of time.
- Unity accelerator is required for the issue to reproduce.
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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b5
Resolution Note (fix version 2019.3):
Fixed in 2019.3.10f1