无法从UnityShaderCompiler.exe着色器编译器获得套接字连接 [英] Failed to get socket connection from UnityShaderCompiler.exe shader compiler

查看:614
本文介绍了无法从UnityShaderCompiler.exe着色器编译器获得套接字连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次在Unity中尝试更改材质(在代码中或在编辑器中)的着色器时,Unity会挂起一段时间并记录无法从UnityShaderCompiler.exe着色器编译器获得套接字连接!"在控制台中.

我杀死了Unity,重新启动了PC,停用了防火墙,似乎没有任何改变.我用错误信息搜索了谷歌,但没有运气.有什么主意吗?

解决方案

通过更新到Unity 5.3.1p3的Jerry的评论解决了此特定问题.问题是旧版本中的Unity错误.

(对于那些在使用Jenkins时遇到此错误消息的人,有更近期且相关的Stack Exchange帖子使用Unity 2017.1运行Jenkins构建时的错误消息

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?

解决方案

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)

这篇关于无法从UnityShaderCompiler.exe着色器编译器获得套接字连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆