问题
In Unity each time I try to change/set a shader to a material (in code or in the editor) Unity hangs for a while and logs "Failed to get socket connection from UnityShaderCompiler.exe shader compiler!" in the console.
I killed Unity, rebooted the PC, deactivated the firewall, nothing seems to change anything. I googled the error message but no luck. Any idea?
回答1:
This specific issue was resolved by Jerry's comment to update to Unity 5.3.1p3. The issue was a Unity bug in an older version.
(For those who are running into this error message while working with Jenkins, there is a more recent and relevant Stack Exchange post for this error message when running a Jenkins build using Unity 2017.1)
来源:https://stackoverflow.com/questions/34882029/failed-to-get-socket-connection-from-unityshadercompiler-exe-shader-compiler