unity升级后'Boo.Lang.Compiler.Steps.EmitAssembly': 'Empty name is not legal

来源:互联网 发布:淘宝智能旺铺有效果吗 编辑:程序博客网 时间:2024/06/14 08:38

我的unity升级到4.1.2的时候出现了以下错误:Internal compiler error. See the console log for more information. output was:BCE0011: An error occurred during the execution of the step 'Boo.Lang.Compiler.Steps.EmitAssembly': 'Empty name is not legal
Parameter name: fullname'.

这个错误的原因是你的项目里面有空的脚本文件,就是一个.cs或者.js文件里面没有写代码(类名,start,update这类的都么有哦!)。找到删了,或者写上你想写的代码就可以了。