Search Issue Tracker
By Design
By Design in 2023.1.X
Votes
9
Found in
2020.3.34f1
2021.3.3f1
2022.2.0a15
2023.1.0a3
Issue ID
UUM-1457
Regression
No
[iOS] Shaders are recompiled on subsequent builds
Reproduction steps:
1. Download and open the attached "urp_template.zip" project
2. Build the project for iOS
3. Repeat step 2
Expected result: The shaders are not recompiled on subsequent builds
Actual result: The shaders are recompiled on subsequent builds
Reproducible with: 2019.39f1, 2020.3.34f1, 2021.3.3f1, 2022.1.2f1, 2022.2.0a15
Comments (4)
-
Jocke16
Feb 11, 2026 21:41
Also happens if you for example just change the version number and build.
-
jhughes2112
Sep 07, 2022 23:15
Also happening on Windows PC only builds. Same code / shaders mostly for months, first build will be 1+hours, second build will be 10 minutes. Wait a day or two, first build is 1+hours. I didn't delete anything, AND I am running the UnityAccelerator. So not only is the shader compiler generating something that misses local cache, it misses remote cache as well. Please fix. This is killing productivity for thousands of people.
-
hineworks
Aug 09, 2022 16:07
Note that this is easily reproducible if you install the glTFast package and add the following shaders to the "Always Included Shaders" list in Project Settings > Graphics:
Packages/glTFast/Runtime/Shader/glTF-pbrMetallicRoughness
Packages/glTFast/Runtime/Shader/glTF-pbrSpecularGlossiness
Packages/glTFast/Runtime/Shader/glTF-unlit -
SpockBauru
Aug 03, 2022 21:09
Also happening on android. If you start on windows and build, go to Android and build, and them back to windows, it will recompile everything again. It recompiles every time you switch a platform.
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
The build is not instant, but no actual variant compilation is happening.
Resolution Note (2023.1.X):
The build is not instant, but no actual variant compilation is happening.