Search Issue Tracker
Fixed
Fixed in 2021.3.46f1, 2022.3.51f1, 6000.0.24f1, 6000.1.0a2, 7000.0.0a7
Votes
36
Found in
2021.3.44f1
2022.3.50f1
6000.0.10f1
6000.1.0a1
7000.0.0a1
Issue ID
UUM-75264
Regression
No
Shader cache is not used when building the Player repeatedly
Reproduction steps:
1. Open the attached “BugReportWireframe.zip“ project
2. Go to “File → Build settings“
3. Press the arrow on the right side of the “Build“ button and select “Clean build“
4. Once the build finishes, build the project again
5. Once the second build finishes, open the “Editor.log” file
6. Search for “Compiling computer shader “StpTaa““ (CTRL+F)
7. Observe what is in the following 4 lines
Expected result: “Local cache hits 16, remote cache hits 0, compiled 0 variants“
Actual result: “Local cache hits 1, remote cache hits 0, compiled 15 variants“
Reproducible with: 6000.0.10f1
Could not test with: 2021.3.40f1, 2022.3.37f1 (Could not resolve package errors)
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
Notes:
* The description for where to find the “Editor.log” is found here: [https://docs.unity3d.com/Manual/LogFiles.html|https://docs.unity3d.com/Manual/LogFiles.html|smart-link]
* Could not test for regression due to package errors when downgrading the project
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (fix version 7000.0.0a7):
Fixed a bug that caused compute shader compilation logs to report only a single variant found from the cache even if in reality all of the variants were loaded from the cache.
Resolution Note (fix version 6000.1.0a2):
Fixed a bug that caused compute shader compilation logs to report only a single variant found from the cache even if in reality all of the variants were loaded from the cache.
Resolution Note (fix version 6000.0.24f1):
Fixed a bug that caused compute shader compilation logs to report only a single variant found from the cache even if in reality all of the variants were loaded from the cache.
Resolution Note (fix version 2022.3.51f1):
Fixed a bug that caused compute shader compilation logs to report only a single variant found from the cache even if in reality all of the variants were loaded from the cache.
Resolution Note (fix version 2021.3.46f1):
Fixed a bug that caused compute shader compilation logs to report only a single variant found from the cache even if in reality all of the variants were loaded from the cache.