Search Issue Tracker
By Design
Votes
0
Found in
2020.3.45f1
2021.3.18f1
2022.2.7f1
2023.1.0b3
2023.2.0a2
Issue ID
UUM-26900
Regression
No
Error is thrown when enabling a Keyword on a Shader
How to reproduce:
1. Open the attached Project "shaderTest" and load the Scene "New Scene"
2. Enter Play Mode
3. Observe the Console
Expected result: No Errors are thrown in the Console
Actual result: The following Error is thrown:
"Metal: Vertex or Fragment Shader "Universal Render Pipeline/Lit" requires a ComputeBuffer at index 0 to be bound, but none provided. Skipping draw calls to avoid crashing."
Reproducible with: 2020.3.45f1, 2021.3.18f1, 2022.2.7f1, 2023.1.0b3, 2023.2.0a2
Reproduced on:
- MacOS Editor (Intel)
Could not test on:
- Windows (The Project contains a Plugin that does not work on Windows)
Notes:
- The Keyword that is being enabled is reserved by a Plugin in the Project using this Interface: https://docs.unity3d.com/Manual/LowLevelNativePluginShaderCompilerAccess.html
- Issue appears to only reproduce with URP Shaders and does not reproduce with the Standard Shader
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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note:
The plugin needs to be compiled into a .dll in order for it to work.