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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment