Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
Votes
1
Found in
Issue ID
1264467
Regression
No
[ShaderVariantCollection] Impossible to add a shader to SVC when the shader contains a GrabPass
STR:
1. Create a new project
2. Add a shader from the Example section to the project: https://docs.unity3d.com/Manual/SL-GrabPass.html
3. Create a new shader variant collection asset
4. Add the shader from step 2 to the variant collection
5. Click on the + sign right above the "Add shader" button, a new window opens
6. Select Normal<No Keywords> in the window from step 5.
7. Click "Add 1 selected variants"
Expected: variant is added
Actual: an error is thrown: ArgumentException: shader GrabPassInvert pass type 0 does not have a shader snippet
Reproduced on 2020.2.0a19.
I saw a report on the forum from 2016, so it's not a regression :)
(https://forum.unity.com/threads/problem-adding-shader-variants-with-grabpass.440267/)
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a20
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.1f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.10f1
Resolution Note (fix version 2018.4):
Fixed in: 2018.4.27f1