Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.37f1
2022.3.26f1
2023.2.19f1
6000.0.0b16
Issue ID
UUM-70218
Regression
No
Shader variants are recompiled while Building when the Platform is switched and changed back after the first Build
How to reproduce:
1. Create a new project with the “Universal 3D Sample“ template
2. Navigate to File → Build Settings
3. Press “Build“
4. After the Build is finished, change the Platform to “Dedicated Server“
5. Switch the Platform back to the "Windows, Mac, Linux"
6. Press “Build“
Expected result: Shaders are not compiled
Actual result: Shaders are compiled
Reproducible with: 2021.3.37f1, 2022.3.26f1, 2023.2.19f1, 6000.0.0b16
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Notes:
- The second Build finishes faster, however, slower than the case where the Platform was not switched
- Including all the scenes in the project is not necessary to reproduce the issue, to make the Build time faster select one scene in the Build Settings
- The issue reproduces when the Platform is switched to different Platforms (not only “Dedicated Server“)
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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note:
There are no fixes planned for this Bug
Resolution Note:
There are no fixes planned for this Bug