- Home /
Where can compute shader compile errors be found on Mac?
When I create a compute shader that compiles, the inspector for the shader lists the kernels.
If I introduce an error in the shader, the inspector shows no kernels, and I cannot find where the compile errors are logged.
I am using Unity 2018.1.0f2. I have looked in the following locations for the errors or log file:
~/Library/Logs/Unity/Editor.log
Unity Editor Console
Shader inspector
Shader inspector in debug mode
Anyone with a Mac know where I can find the compute shader compile logs?
Answer by conjugategames · May 04, 2018 at 02:11 PM
I found the log under the project directory at
Library/shadercompiler-UnityShaderCompiler0.log
For the curious, I was able to find this by adding a line like
#error ABC123
to my shader. I let Unity try to compile it, then searched my computer for ABC123.
Your answer
Follow this Question
Related Questions
How to build for Mac to make compute shaders work? 0 Answers
AudioClip.Create crash on Mac OSX 1 Answer
DllNotFoundException libcairo.so.2 on MacOS 1 Answer
Can Unity 5.3.5 work on Mac OS Yosemite 1 Answer
High Sierra And MonoDevelop 2 Answers