赞
踩
jenkins+unity+android的文章参考http://www.cnblogs.com/yinghuochong/archive/2013/09/01/3294940.html
遇到问题:unity.exe 运行总是返回1.我觉得应该是就没有启动吧。
用了UnityEditor plugin之后,在编译的时候jenkins log信息为
Failed to initialize Direct3D 9. Make sure you have DirectX 9.0c installed, have drivers for your graphics card and have not disabled 3D acceleration in display settings. Failed to initialize unity graphics.
明明没有问题的。
之后,检查unity commond line ,在启动Unity的时候加了-force-d3d11
我电脑上安装了dx11
再运行,就ok了!!
Unity默认应该用的是dx9
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。