Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2018.4
2019.4
2020.1
2020.2
2021.1
2021.2
2021.2.0a4
Issue ID
1314040
Regression
No
Shader Compiler fails to generate Vulkan output when HLSL texture method CalculateLevelOfDetail is used
How to reproduce:
1. Create a new project and add the attached shader to it ("CalculateLOD.shader")
2. Select it in the Project Window
3. In its inspector select the "Compile and show code" dropdown and select Vulkan
4. Click "Compile and show code"
5. Observe the errors
Expected result: no errors after compiling the shader
Actual result: shader compiler fails to generate Vulkan output and errors are thrown
Reproducible in: 2021.2.0a5, 2021.1.0b5, 2020.2.3f1, 2020.1.17f1, 2019.4.20f1, 2018.4.31f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build for iOS with UnityAds fails with linker failures when performing a CocoaPods build
- NavMeshManager.LoadData takes a long time and causes performance spikes when enabling a NavMeshSurface with already instantiated NavMeshLinks
- Shadows created by real-time Spotlights are rendered at a very low resolution on terrain when HDRPAsset Lit Shader Mode is set to Forward or Both
- “STP” in Project window > Advanced Upscalers by Priority menu list is shown as available to add when it is already added to the list
- Rename fails with an error “Canceling DisplayDialog” when renaming a Mipmap Limit Group in Project Settings > Quality after adding a new group
Add comment