Search Issue Tracker
By Design
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
-
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
- [Scene View][Ubuntu] Prefab mode UI ghosting in HDRP
- Deleting AudioMixer asset throws MissingReferenceException and breaks the Audio Mixer window
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
- [HDRP] Light doesn't bounce off terrains
Resolution Note:
The build is not instant, but no actual variant compilation is happening.