Search Issue Tracker
Fixed in 5.1.0
Votes
0
Found in
Issue ID
675966
Regression
No
Shaders: #pragma target with trailing comment is not recognized
Writing something like "#pragma target 4.0 // test" in a shader does not actually work - the trailing comment makes SM4.0 target not be applied.
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
Add comment