Search Issue Tracker
Not Reproducible
Votes
0
Found in
2021.1.0a6
Issue ID
1292986
Regression
Yes
Package compute shaders don't compile automatically when upgrading a project from 2020.2 to 2021.1
Repro steps:
1. Download the repro project: https://drive.google.com/file/d/169UcveLRJcUNmkBe6QknocBtyY5NBpx5/view?usp=sharing
2. Open the project in 2021.1.0a6 or later
3. Open the TestScene scene
4. Observe the console errors
VFXCopyBuffer.compute: Kernel at index (2) is invalid
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
VFXFillIndirectArgs.compute: Kernel at index (0) is invalid
Sort.compute: Kernel at index (0) is invalid
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Notes:
- Reimporting the shaders fixes the issue
- Not package-specific: happens with lots of package compute shaders (VFX, HDRP)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (2021.1.X):
Looks fixed on 2021.1.0a7.