Search Issue Tracker
Fixed in 12
Votes
0
Found in [Package]
2020.2.0a11
Issue ID
1332553
Regression
No
[Shadergraph] User is allowed to plug route into both vertex and fragment stages, combining this with custom interpolator fails
Repro steps:
1. Create a new URP Lit graph
2. right click the vertex stack in between stack nodes and choose "create node"
3. Choose "Custom interpolator"
4. Right click the graph and choose Custom Interpolator -> CustomInterpolator
5. Plug it into Base Color
6. Create a Texture2D property
7. Create a Sample Texture2DLOD node and plug the property in
8. Create a Sample Texture2D node and plug the same property node into that as well
9. Plug the SampleTexture2DLOD node's "RGBA" into the CustomInterpolator vertex stack block
10. Plug the SampleTexure2D node's "R" into the "Smoothness" fragment stack block
Expected result: the graph compiles, or does not let you connect the Texture2D property route into both vertex and fragment stages
Actual result: the graph gets a compile error
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment