Unity异常解决记录

1.There are inconsistent line endings in the 'Assets/Scrips/HelloWorld.cs' script. Some are Mac OS X (UNIX) and some are Windows.

(1)添加高级保存选项

工具-》自定义-》命令-》菜单栏-》文件-》添加命令-》文件(类别)-》高级保存选项-》保存脚本(Windows LR)

2.Unity5 3D和2D工程SkyBox背景不一致

Window-》Lightning-》Sitting-》SkyBox Material

3.An assembly with the same name `XXXXX.XX' has already been imported.

删除Assets目录下的Library文件

4.Unity SpritePacker 图片没有被打包进图集

取消图片设置的Read/Write Enabel选项

5.使用WWW加载AssetBundle,提示Unsupported protocol

加载地址加上“file://”

你可能感兴趣的:(Unity异常解决记录)