Search Issue Tracker
Fixed
Votes
0
Found in [Package]
12.0.0
Issue ID
1322466
Regression
Yes
[ShaderGraph] Custom Function Node only accepts .TXT files and they throw errors when using the file selector
How to reproduce:
1. Create a new project with Scriptable Render Pipeline template (i.e. URP)
2. In the Project Window, create a new Shader Graph
3. In the Shader Graph, create a "Custom Function" node
4. In the Graph Inspector, view the available "Source" files
Expected result: HLSL and CGINC files can be selected
Actual result: Only TXT files can be selected and they throw errors
Reproducible with: 12.0.0 (2021.2.0a8, 2021.2.0a12)
Not reproducible with: 7.5.1 (2019.4.23f1), 10.4.0 (2020.3.3f1), 11.0.0 (2021.1.1f1), 12.0.0 (2021.2.0a7)
Comments (1)
-
LooperVFX
Apr 08, 2021 13:08
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
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
Resolution Note:
Fixed in Unity 2021.2.0a13