Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
Issue ID
1338590
Regression
No
Misleading shader compilation logging message
When doing the player build, a log appears in the Editor log that informs about the progress. The log says something like "[ 60s ] compiled 300 variants" periodically. After the compilation is finished, the total stats are printed. If the "compiled" variants come from the cache, the message above is incorrect, as it's not actually compiling them.
It is also not possible to determine, how much time was spent compiling variants vs fetching from the cache, which makes it difficult to reason about the performance of different parts of the variant fetching pipeline.
The periodic message should be changed to [ 60s ] 300 / 456 ready.
The final message should show duration stats per source in addition to variant counts obtained from each source.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Application either crashes, renders the screen black or doesn't render Lit GameObjects when switching to the highest quality Universal Render Pipeline Asset during Runtime
- "Shader warning in 'Universal Render Pipeline/Particles/Simple Lit': implicit truncation of vector type" warning is thrown after building the project
- "Shader warning in 'Hidden/Universal Render Pipeline/StencilDeferred': implicit truncation of vector type" Warnings are thrown after building the project
- Light leaks through walls when Ray Traced Global Illumination is enabled
- "PrefabUtility.ApplyPropertyOverride" method works only every second time when the value is changed within the same script
Add comment