Error building Player because scripts had compiler errors
2024-10-21 09:49:33
报错信息如下:
Error building Player because scripts had compiler errors
Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: Error building Player because scripts had compiler errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:181
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:88
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
没有其他的,也没有定位到,报错的文件。
需要查看C:\Users\XXXX\AppData\Local\Unity\Editor文件下的Editor.log文件。
有详细的报错信息。
我这里的原因是无用的头文件。如下图,删除掉,就可以打出android包来了。
最新文章
- Ansible简介及常用模块
- 数据库表结构对比同步mysqldiff
- python3内置函数详解
- Android Studio使用中的异常
- 蓝牙Bluetooth技术手册规范下载
- 引擎设计跟踪(九.14.2e) DelayLoaded DLLs (/DELAYLOAD)
- 自问自答-hadoop自带哪些案例(0.20.2)
- 武汉科技大学ACM:1004: Lake and Island
- js模态窗口
- Oracle Day07 PL/SQL基础
- JAVA: List用法
- C++中宽字符类型(wchar_t)的编码
- SpringMVC使用Redis作为缓存提供者
- centos下配置DNS
- POJ 1655 Balancing Act (求树的重心)【树形DP】(经典)
- java骰子求和算法
- Linux内核分析——构造一个简单的Linux系统MenuOS
- 转:如何编译delta3d
- 接口测试 mock server 工具moco
- mysql状态查看 QPS/TPS/缓存命中率查看【转】
热门文章
- cximage函数总结(拷贝)
- observObservableCollection改变model属性UI不更新
- HTML元素关系与CSS初步了解
- javascript的属性描述符
- codeforce A. Many Equal Substrings
- VUE学习-表单输入绑定
- python requests库从接口get数据报错Max retries exceeded with url解决方式记录
- 题解[LuoguP5591]小猪佩奇学数学
- Vuex扫描自定义文件夹下的所有文件
- keeplive 双击热备方案 (对haproxy负载均衡 )双击热备方案