Search Issue Tracker
Active
Votes
0
Found in
2021.3.45f1
2022.3.51f1
6000.0.25f1
6000.1.0a2
Issue ID
UUM-85587
Regression
No
“Shader error in 'Hidden/VFX/.../Minimal/Render Quad': undeclared identifier 'mainTexture' at line 2198 (on d3d11)” error appears when connecting a Switch Node output to the Main Texture in VFX Graph
Reproduction steps:
1. Open the attached “VFXURP.zip” project
2. Open the “SampleScene” (Assets > Scenes)
3. Open the “Main Texture Bug Demo.vfx” from the Project Window
4. Click Compile
5. Observe the Console
Expected result: No errors or warnings
Actual result: “Shader error in 'Hidden/VFX/Main Texture Bug Demo/Minimal/Render Quad': undeclared identifier 'mainTexture' at line 2198 (on d3d11)” error
Reproducible with: 2021.3.45f1, 2022.3.51f1, 6000.0.25f1, 6000.1.0a2
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- Error might appear instantly after opening the Editor or after a fewer steps
- Does not reproduce in BiRP and HDRP
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GUISkin background is displayed in lighter colors in the Game view than in the Preview or Icon
- Selection of multi-select ListView is changed when interacting with child element in an EditorWindow
- [Android] The '-' symbol is not allowed to be entered when entering a negative number in an InputField when the Content Type is set to Integer Number
- [Android] Crash due to null pointer dereference when UnityPlayer.UnitySendMessage() is called in onCreate
- DepthNormalPrepass or DrawDepthNormalPrepass is rendered when using the Decal renderer feature with “Technique: Screen Space” and “Use Rendering Layers”
Add comment