Search Issue Tracker
Third Party Issue
Votes
0
Found in
6000.0.55f1
6000.2.4f1
6000.3.0b1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-114064
Regression
Yes
Shader bundle CRC numbers are not identical (non-deterministic) when building after deleting the Library folder
How to reproduce:
1. Open the “Gcb.zip“ project (have IL2CPP installed on the Editor)
2. In the menu, press Tools → “Build TMP SDF Shader Bundle (Windows)“
3. Observe the number in the info log in the Console (note it down)
4. Close the project
5. Delete the Library folder
6. Repeat steps 1-3
Expected result: The numbers match
Actual result: The numbers differ
Reproducible in: 1.22.5, 2.4.1 (2023.2.0a23, 6000.0.55f1, 6000.2.0f1, 6000.3.0a4)
Not reproducible in: 1.22.5 (2023.1.0a26)
Could not test in: 2023.1.0a1, 2023.1.0a11 (Unsolvable Test Framework package errors)
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- Building without deleting the Library folder will result in the numbers matching
- The regression happened between Editor versions
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
The issue comes from the output of the DX11 compiler being non-deterministic when it keeps the debug information.
The shader that's causing the CRCs to mismatch has a `#pragma enable_d3d11_debug_symbols` in it. Removing this line fixes the issue.