o3de-azslc
o3de-azslc copied to clipboard
Obscure Error Message For Non ASCII Characters
If you have non-ASCII characters in an AZSL source file, the compiler will report an obscure error message with no line number information: "bad conversion"
Try adding the following comment to an existing .azsl file (note that Notepad++ or other text editors might convert the character to ASCII automatically. Try pasting this in Visual Studio, that should do the trick):
// This file can’t compile
// ^ because of this character
Doesn't seem to be azslc related. Probably a builder issue for passing the shader file contents through strings possibly.